SerenityJS
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    optional: boolean = true

    Whether the enum value is optional.

    result: unknown
    default: Enum = ...
    enums: Map<string, Enum> = ...
    identifier: string
    symbol: number
    type: number

    Methods

    • Checks if the enum value is applicable.

      Parameters

      • _error: boolean = false

      Returns boolean

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