Skip to content

crelte / / getGlobal

Function: getGlobal()

ts
function getGlobal<T>(name): Readable<T> | null;

returns a store which contains a globalSet

Note

This only works during component initialisation.

Type Parameters

T

T = any

Parameters

name

string

Returns

Readable<T> | null