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

description

bool getisNull

Whether this value corresponds to JavaScript null.

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 isNull;