Read Me - Common Public License V1.0 - Copyright Notice(©)

isInstanceOf


>>-isInstanceOf(class)-----------------------------------------><

Returns .true ("1") if the object is an instance of the specified [class] , otherwise it returns .false ("0"), An object is an instance of a class if the object is directly an instance of the specified [class] or if [class] is in the object's direct or mixin class inheritance chain. For example:

Object class - isInstanceOf method


"abc"~isInstanceOf(.string)             ->  1
"abc"~isInstanceOf(.object)             ->  1
"abc"~isInstanceOf(.mutablebuffer)      ->  0

Read Me - Common Public License V1.0 - Copyright Notice(©)