@lou.codes/predicates
Version:
🧐 Predicate util functions
17 lines (16 loc) • 423 B
TypeScript
/**
* `typeof` "symbol" alias.
*
* @category Primitives
* @example
* ```typescript
* isSymbol(Symbol("Lou")); // true
* isSymbol(Symbol.iterator); // true
* isSymbol("Lou"); // false
* ```
* @param input Value to check.
* @returns Returns `true` if value is a `symbol`, `false` otherwise.
*/
export declare const isSymbol: (
input: unknown,
) => input is import("@lou.codes/types").TypeOfDictionary["symbol"];