isUndefined property

bool isUndefined

Whether this value corresponds to JavaScript undefined.

Note

Currently, there is no way to distinguish between JavaScript undefined and 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;