Libs Api
Accessors
Section titled “Accessors”Get Signature
Section titled “Get Signature”get list():
string[]
A list of all the libraries installed
Returns
Section titled “Returns”string[]
Methods
Section titled “Methods”get<
T>(name):Libraries[T]
Gets the exported values of a library
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
T extends string | number |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
name | T |
Returns
Section titled “Returns”Libraries[T]
getHeaders()
Section titled “getHeaders()”getHeaders(
name):ScriptHeaders
Gets the headers of a library, such as version, author, and description
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
name | string |
Returns
Section titled “Returns”ScriptHeaders
isEnabled()
Section titled “isEnabled()”isEnabled(
name):boolean
Gets whether or not a plugin is installed and enabled
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
name | string |
Returns
Section titled “Returns”boolean