MCPcopy Create free account
hub / github.com/AlexErrant/Pentive / getNot

Function getNot

shared-dom/src/language/query2sql.ts:930–932  ·  view source on GitHub ↗
(negate: boolean, forcePositive?: true)

Source from the content-addressed store, hash-verified

928}
929
930function getNot(negate: boolean, forcePositive?: true) {
931 return forcePositive === true ? sql`` : sql.raw(negate ? 'NOT' : ``)
932}
933
934function maybeAddSeparator(node: SyntaxNode, context: Context) {
935 const separator = andOrNothing(node.node)

Callers 2

globFunction · 0.85
regexpWithFlagsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected