Options
All
  • Public
  • Public/Protected
  • All
Menu

Manages system flags.

Hierarchy

  • SystemFlagsManager

Index

Properties

Methods

Properties

getAll

getAll: string[]

Return an array containing all flag names;

Methods

clear

  • clear(): void
  • Clear all flags.

    Returns void

has

  • has(flag: string): boolean
  • Check if a flag is enabled or not.

    Parameters

    • flag: string

      The flag to check.

    Returns boolean

    The state of the flag.

set

  • set(flag: string, enabled: boolean): void
  • Change a flag's state to be enabled or disabled.

    Parameters

    • flag: string

      The flag to modify.

    • enabled: boolean

      The state to change the flag to.

    Returns void

Generated using TypeDoc