findMessage
import { findMessage } from 'pixi-silk/i18n';
function findMessage(data: BundleData, hash: number): number;
Index of the message with key hash hash (binary search), or -1.
Parameters#
| Parameter | Type |
|---|---|
data | BundleData |
hash | number |
Returns#
number