Skip to main content

@rbxts/expect > Assertion > null

Assertion.null() method

Asserts that the actual value is a null value.

Signature:

null(): this;

Returns:

this

Remarks

Type alias for undefined.

Example

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