Docs (4.0.0)
class Assertion method

toBeOneOf

Asserts that the value is strictly equal to one of given values.

toBeOneOf(...values: T[]): void

Related