SerenityJS
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    optional: boolean = true

    Whether the enum value is optional.

    result: null | Entity[]

    The result of the enum.

    default: Enum = ...
    enums: Map<string, Enum> = ...
    identifier: "target"

    The type of the enum.

    symbol: number = ...

    The symbol of the enum.

    type: 16 = 0x10

    The type of the enum.

    Methods

    • Checks if the enum value is applicable.

      Parameters

      • error: boolean = false

        Whether to throw an error if the enum value is not applicable.

      Returns boolean

      Returns true if the enum value is applicable, or false otherwise.