Skip to main content

@rbxts/expect > Assertion > exist

Assertion.exist() method

Asserts that the actual value is a non null value.

Signature:

exist(): this;

Returns:

this

Remarks

Type alias for defined.

Example

expect("Daymon").to.exist();