isUndefined property

bool isUndefined

Determine if this value corresponds to JS undefined.

WARNING: Currently, there isn't a way to distinguish between JS undefined and JS null in dart2wasm. As such, this should only be used for code that compiles to JS and will throw on dart2wasm.

Implementation

external bool get isUndefined;