export type TypeCheck = (value: unknown) => value is T;