getCsvDelimiterValidationError()
Home > @gooddata/sdk-model > getCsvDelimiterValidationError
getCsvDelimiterValidationError() function
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Validates a custom delimiter string and returns the first validation error, or undefined if valid.
Signature:
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