@lou.codes/predicates
Version:
🧐 Predicate util functions
15 lines (14 loc) • 340 B
TypeScript
/**
* `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"];