Skip to content

helix / privateName

Function: privateName()

privateName(name): string

Defined in: core/private-fn.ts:17

Prefix name with the private root, idempotently - a name that is already the root or nested under it is returned unchanged, so composing private names (e.g. a cutscene's already-private base + a child clip) never compounds into zzz/zzz/....

Parameters

name

string

Returns

string

Released under the MIT License · Credits