getCsvDelimiterValidationError()
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Validates a custom delimiter string and returns the first validation error, or undefined if valid.
export declare function getCsvDelimiterValidationError(delimiter: string): CsvDelimiterValidationError | undefined;
Parameters
Parameter | Type | Description |
|---|---|---|
delimiter | string | the custom delimiter string to validate |
Returns
CsvDelimiterValidationError | undefined
validation error code, or undefined when the delimiter is acceptable