MCPcopy
hub / github.com/sequelize/sequelize / canPrecedeNewToken

Function canPrecedeNewToken

src/utils/sql.ts:240–242  ·  view source on GitHub ↗
(char: string | undefined)

Source from the content-addressed store, hash-verified

238}
239
240function canPrecedeNewToken(char: string | undefined): boolean {
241 return char === undefined || /[\s(>,=]/.test(char);
242}
243
244function isBackslashEscaped(string: string, pos: number): boolean {
245 let escaped = false;

Callers 1

injectReplacementsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected