@rbxts/expect > Assertion > defined
Assertion.defined() method
Asserts that the actual value is a non null
value.
Signature:
defined(): this;
Returns:
this
Example
expect("Daymon").to.be.defined();
@rbxts/expect > Assertion > defined
Asserts that the actual value is a non null
value.
Signature:
defined(): this;
Returns:
this
expect("Daymon").to.be.defined();