Skip to content

@pumpkin-plugins/config API / fields / tomlString

Function: tomlString() ​

tomlString(value): string

Defined in: tools/config/src/fields.ts:49

Writes a string as a TOML basic string. JSON string syntax is a valid subset, except that TOML also requires DEL (U+007F) to be escaped.

Parameters ​

value ​

string

Returns ​

string

pumpkin-plugins documentation