Skip to main content

@rbxts/expect > Assertion > true

Assertion.true() method

Asserts that the value is a boolean of true.

Signature:

true(): this;

Returns:

this

Example

expect(true).to.be.true();