LogoPixi’VN
indexNamespacesRegisteredLabelsFunctions

Function: get()

> get<T, T2>(id): T | undefined

Defined in: src/narration/decorators/RegisteredLabels.ts:21

Gets a label by its id

Type Parameters

T

T = LabelAbstract<any, { }, number>

T2

T2 extends string = string

Parameters

id

T2

The id of the label

Returns

T | undefined

The label or undefined if it does not exist

On this page