Type Alias Assertion<R>

Assertion<R>: ((x: unknown) => asserts x is R)

Produces a function that asserts that the given argument is of type R

Type Parameters

  • R