Skip to content

BeechCMS


BeechCMS / @beechcms/core / encodeCsvValue

Function: encodeCsvValue() ​

encodeCsvValue(value, options?): string

Encodes one cell. null/undefined become an empty, unquoted field.

Parameters ​

value ​

string | null | undefined

options? ​

CsvEncodeOptions = {}

Returns ​

string