hash(str, { size }) function
A simple fnv1a hashing utility - to help with community dragon data parsing.
Signature:
export declare function hash(str: string, { size }?: { size?: number | undefined;}): string;
Parameters
Parameter | Type | Description |
---|---|---|
str | String | The string that needs to be hashed. |
{ size } | { size?: number | Undefined; } |
Return type : String