Skip to content

Home > sculp-js > getGlobal

getGlobal() function

获取全局变量

Signature:

typescript
export declare function getGlobal<T>(key: string | number | symbol): T | void;

Parameters

Parameter

Type

Description

key

string | number | symbol

Returns:

T | void

Released under the MIT License.