isa

Synopsis

? $a isa ^Class

Determine if object value of $a is an instance of the specified ^Class

Parameters

$a - any scalar

^Class - a class to check.

Examples

>> Welcome to the Sleep scripting language > ? "some string" isa ^String true > ? 33.0 isa ^String false > ? 33.0 isa ^Double true

See Also