method Assert.prototype.notOk Assert.prototype.notOk(state: unknown,message?: string): void Asserts that state is falsy. Examples Example 1 assert.notOk(false); assert.notOk(0, "zero is falsy"); assert.notOk(null); Parameters state: unknown The value to test. optional message: string Optional failure message. Return Type void