Const
Asserts that the subject is a primitive value (string, number, boolean, null, undefined, symbol, or bigint).
expect('hello', 'to be a primitive'); // passesexpect({}, 'to be a primitive'); // fails Copy
expect('hello', 'to be a primitive'); // passesexpect({}, 'to be a primitive'); // fails
Asserts that the subject is a primitive value (string, number, boolean, null, undefined, symbol, or bigint).