MCPcopy Index your code
hub / github.com/Effect-TS/effect / isHelper

Function isHelper

packages/sql/src/internal/statement.ts:288–293  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

286(i0: C["i0"], i1: C["i1"], i2: C["i2"]): Statement.Fragment => new FragmentImpl([new CustomImpl(kind, i0, i1, i2)])
287
288const isHelper = (u: unknown): u is Statement.Helper =>
289 u instanceof ArrayHelperImpl ||
290 u instanceof RecordInsertHelperImpl ||
291 u instanceof RecordUpdateHelperImpl ||
292 u instanceof RecordUpdateHelperSingleImpl ||
293 u instanceof IdentifierImpl
294
295const constructorCache = globalValue(
296 "@effect/sql/Statement/constructorCache",

Callers 1

statementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…