← Back to index
class PlatformState

Constructors

🔗
PlatformState()

Methods

🔗
get(): PLATFORM_STATE

The function returns the state of a platform or undefined if it doesn't exist.

🔗
set(state: PLATFORM_STATE): void

The function sets the state of a package and logs a warning message.

Constructors

🔗
PlatformState()

Methods

🔗
get(): PLATFORM_STATE

The function returns the state of a platform or undefined if it doesn't exist.

🔗
set(state: PLATFORM_STATE): void

The function sets the state of a package and logs a warning message.