Next: typeof
, Previous: The any
Type, Up: Types [Contents][Index]
isa
OperatorThe binary operator isa
allows you to check for the type of a given
value:
(poke) 10 isa int 1 (poke) "foo" isa string 1 (poke) (Packet 0#B) isa Packet 1 (poke) 2 as int<3> isa uint<4> 0