UNPKG

@lou.codes/predicates

Version:
17 lines (16 loc) 413 B
/** * `typeof` "string" alias. * * @category Primitives * @example * ```typescript * isString("Lou"); // true * isString(`Lou`); // true * isString(Symbol("Lou")); // false * ``` * @param input Value to check. * @returns Returns `true` if value is a `string`, `false` otherwise. */ export declare const isString: ( input: unknown, ) => input is import("@lou.codes/types").TypeOfDictionary["string"];