/** * Predicator function that returns `true` when the given value * is of the specified type. * * @template T The type to check for. * @example Predicator // (value: unknown, ...args: any[]) => value is string */ type Predicator = (value: any, ...args: any[]) => value is T; export type { Predicator };