yaschema
    Preparing search index...

    Function string

    • Requires a non-empty string. If one or more values are specified, the string must match ones of the specified values.

      Call .allowEmptyString to allow empty strings.

      Type Parameters

      • ValueT extends string

      Parameters

      Returns StringSchema<ValueT>