isNullOrUndefinedRaw

external fun isNullOrUndefinedRaw(value: Any?): Boolean(source)

Returns true if the given object is null or undefined. Otherwise, returns false.

const util = require('node:util');

util.isNullOrUndefined(0);
// Returns: false
util.isNullOrUndefined(undefined);
// Returns: true
util.isNullOrUndefined(null);
// Returns: true

Since

v0.11.5