Skip to content

assert.Function.isUndefined

soetas edited this page Nov 30, 2024 · 1 revision

estdlib v0.1.2 / assert / isUndefined

Function: isUndefined()

isUndefined(value): void

Checks if value is undefined

Parameters

value: unknown

The value to check

Returns

void

  • Returns true if value is undefined, else false

Since

0.1.2

See

source

Example

isUndefined(void 0) // => true

isUndefined(null) // => false
Clone this wiki locally