Variable: toBeNone
consttoBeNone:MatcherFunction
Defined in: testing/matchers/option.ts:107
Assert that an Option is None.
Example
import { expect } from 'vitest'
import { some, none } from 'receta/option'
expect(none()).toBeNone() // Pass
expect(some(5)).not.toBeNone() // Pass