Type alias WithString

WithString: {
    case?: "lower" | "upper";
    regex?: RegExp;
    trim?: true;
}

Defines attributes common to string-valued options.

Type declaration

  • Optional Readonly case?: "lower" | "upper"

    The kind of case-conversion to apply.

  • Optional Readonly regex?: RegExp

    The regular expression.

  • Optional Readonly trim?: true

    True if the values should be trimmed (remove leading and trailing whitespace).