ducjs - v4.4.2
    Preparing search index...

    Function isValidEnumValue

    • A generic helper to validate an enum value from a lookup object.

      Type Parameters

      • T

      Parameters

      • value: any

        The value to check.

      • enumObject: object

        The object containing valid enum values (e.g., VIEWPORT_SHADE_PLOT).

      • defaultValue: T

        The value to return if the input is invalid.

      Returns T