command predicates: added support for strict matching by appending '!' on string predicates
This commit is contained in:
@@ -21,10 +21,7 @@ end
|
||||
|
||||
|
||||
function Object:is(T)
|
||||
if getmetatable(self) == T then
|
||||
return true
|
||||
end
|
||||
return false
|
||||
return getmetatable(self) == T
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user