is multimethod
Methods
- is(obj:Any, t:Type)
Check whether obj is of type t. Uses same function that is used for matching arguments with method parameters when calling a method. Returns
BoolExample
1 is Int # true [] is Arr # true [] is Int # false
1 is Int # true [] is Arr # true [] is Int # false