Type alias ArgumentValidator<T>

ArgumentValidator<T>: T extends RecordContainerArgument<infer S, infer U>
    ? ((s, value, params) => boolean)
    : ((value, params) => boolean)

Argument validator as a predicate taking both the argument's value and its validator parameters as inputs. In the case of a record argument, this is a mapping from record keys to such predicates for the record value type.

Type Parameters

Generated using TypeDoc