Skip to main content

@rbxts/expect > Assertion > undefined

Assertion.undefined() method

Asserts that the actual value is a null value.

Signature:

undefined(): this;

Returns:

this

Example

expect(undefined).to.be.undefined();