Skip to content
pixi-silk
GitHub repository
Function

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#

ParameterType
dataBundleData
hashnumber

Returns#

number