@traversable/schema
    Preparing search index...

    Interface t_enum<V>

    interface t_enum<V> {
        _type: EnumType<V>;
        def: V;
        tag: "@traversable/schema/URI::enum";
        toJsonSchema(): {
            enum: {
                -readonly [K in string
                | number
                | symbol]: V[K] extends undefined | bigint | symbol ? void : V[K]
            };
        };
        toType(): EnumToString<V>;
        (u: unknown): u is EnumType<V>;
    }

    Type Parameters

    • V
    Index

    Properties

    Methods

    Properties

    _type: EnumType<V>
    def: V
    tag: "@traversable/schema/URI::enum"

    Methods

    • Returns {
          enum: {
              -readonly [K in string | number | symbol]: V[K] extends | undefined
              | bigint
              | symbol
                  ? void
                  : V[K]
          };
      }