UNPKG

283 BTypeScriptView Raw
1/**
2 * CRC-32 based hash function
3 *
4 * Used internally by fast-check in {@link func}, {@link compareFunc} or even {@link compareBooleanFunc}.
5 *
6 * @param repr - String value to be hashed
7 *
8 * @remarks Since 2.1.0
9 * @public
10 */
11export declare function hash(repr: string): number;