Skip to main content

@rbxts/expect > Assertion > ok

Assertion.ok() method

Asserts that the actual value is a non null value.

Signature:

ok(): this;

Returns:

this

Remarks

Type alias for defined.

Example

expect("Daymon").to.be.ok();