ParseArrayOptions
interface ParseArrayOptions extends Omit {
items?: Type<unknown>
separator?: string
optional?: boolean
exceptionFactory?: (error: any) => any
}
Properties
Property | Description |
---|---|
items?: Type<unknown>
|
Type for items to be converted into |
separator?: string
|
Items separator to split string by |
optional?: boolean
|
If true, the pipe will return null or undefined if the value is not provided |
exceptionFactory?: (error: any) => any
|
A factory function that returns an exception object to be thrown if validation fails. |