TypeGuard<T>
A function deciding whether a value is a T.
Import:
import type { TypeGuard } from '@mnaoumov/typescript-lib/type-guards';Signature:
export type TypeGuard<T>Signature:
type TypeGuard<T> = (value: unknown) => value is TType: (value: unknown) => value is T
Links to this page: