hashKey
import { hashKey } from 'pixi-silk/i18n';
function hashKey(key: string): number;
32-bit FNV-1a hash of a message key, over its UTF-16 code units. Production bundles store only this. The compiler fails when two keys of one bundle collide.
Parameters#
| Parameter | Type |
|---|---|
key | string |
Returns#
number