Skip to content

Commit

Permalink
Returned gpm.package.IsPackage
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown-gd committed Jun 28, 2023
1 parent 7bdc006 commit 99ff694
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lua/gpm/package.lua
Original file line number Diff line number Diff line change
Expand Up @@ -978,12 +978,12 @@ do
return result
end )

local function isPackage( any )
function IsPackage( any )
return getmetatable( any ) == PACKAGE
end

gpm.IsPackage = isPackage
_G.TYPE_PACKAGE = gpm.AddType( "Package", isPackage )
gpm.IsPackage = IsPackage
_G.TYPE_PACKAGE = gpm.AddType( "Package", IsPackage )

end

Expand Down

0 comments on commit 99ff694

Please sign in to comment.