Skip to main content

@rbxts/expect > Assertion > exists

Assertion.exists() method

Asserts that the actual value is a non null value.

Signature:

exists(): this;

Returns:

this

Remarks

Type alias for defined.

Example

expect("Daymon").to.be.a.thing.that.exists();