This commit is contained in:
Applevangelist
2023-10-12 10:54:00 +02:00
parent 400ae46e03
commit dca57c97de
2 changed files with 2 additions and 2 deletions

View File

@@ -224,7 +224,7 @@ UTILS = {
-- @return #boolean
UTILS.IsInstanceOf = function( object, className )
-- Is className NOT a string ?
if not type( className ) == 'string' then
if type( className ) ~= 'string' then
-- Is className a Moose class ?
if type( className ) == 'table' and className.IsInstanceOf ~= nil then