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
bool instanceof(Object? o, Object type) => JS('bool', '# instanceof #', o, type);
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-js_util/instanceof.html