Documentation
    Preparing search index...

    Type Alias ArrayFlag<T>

    ArrayFlag: BaseFlag<T> & {
        type: "array";
        allowEmptyValue?: boolean;
        parse?: (input: T) => T;
    }

    An array of string flag

    Type Parameters

    • T extends any

    Type Declaration

    • type: "array"
    • OptionalallowEmptyValue?: boolean

      Whether or not to allow empty values. When set to false, the validation will fail if the flag is mentioned but no value is provided

      Defaults to false

    • Optionalparse?: (input: T) => T