UNPKG

@lou.codes/predicates

Version:
15 lines (14 loc) 340 B
/** * `typeof` "bigint" alias. * * @category Primitives * @example * ```typescript * isBigInt(1n); // true * isBigInt(1); // false * ``` * @returns `true` if the given value is a `bigint`, `false` otherwise. */ export declare const isBigInt: ( input: unknown, ) => input is import("@lou.codes/types").TypeOfDictionary["bigint"];