instanceof function
Check whether o
is an instance of type
.
The value in type
is expected to be a JS-interop object that
represents a valid JavaScript constructor function.
Implementation
external bool instanceof(Object? o, Object type);
Check whether o
is an instance of type
.
The value in type
is expected to be a JS-interop object that
represents a valid JavaScript constructor function.
external bool instanceof(Object? o, Object type);