MCPcopy Create free account
hub / github.com/Keyang/node-csvtojson / isQuoteOpen

Method isQuoteOpen

src/rowSplit.ts:156–162  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

154 return delimiter;
155 }
156 private isQuoteOpen(str: string): boolean {
157 const quote = this.quote;
158 const escape = this.escape;
159 return str[0] === quote && (
160 str[1] !== quote ||
161 str[1] === escape && (str[2] === quote || str.length === 2));
162 }
163 private isQuoteClose(str: string): boolean {
164 const quote = this.quote;
165 const escape = this.escape;

Callers 4

toCSVRowMethod · 0.95
browser.jsFile · 0.80
csvtojson.min.jsFile · 0.80
rowSplit.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected