isUndefined property - NullableUndefineableJSAnyExtension extension - dart:js_interop library (original) (raw)

description

bool getisUndefined

Whether this value corresponds to JavaScript undefined.

Note

Currently, there is no way to distinguish between JavaScript undefinedand JavaScript null when compiling to Wasm. Therefore, this getter should only be used for code that compiles to JavaScript and will throw when compiling to Wasm.

Implementation

external bool get isUndefined;