Skip to content

@technobuddha > library > String > Construction

Type Alias: QuoteOptions

ts
type QuoteOptions = {
  escape?: string | (input: string) => string;
  quote?: string;
};

Defined in: quote.ts:10

Options for the quote and unquote function

Properties

PropertyTypeDescriptionDefined in
escape?string | (input: string) => stringCharacter sequence to replace the quote mark within the text, or function to return the properly escaped textsrc/quote.ts:14
quote?stringThe quote character(s) to usesrc/quote.ts:12