MCPcopy Create free account
hub / github.com/Effect-TS/effect / isFragment

Function isFragment

packages/effect/src/sql/Statement.ts:206–206  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

204 * @since 4.0.0
205 */
206export const isFragment = (u: unknown): u is Fragment => hasProperty(u, FragmentTypeId)
207
208/**
209 * Creates a type guard for custom SQL segments with the specified custom kind.

Callers 3

returningFunction · 0.85
templateSegmentsFunction · 0.85
extractPrimitiveFunction · 0.85

Calls 1

hasPropertyFunction · 0.90

Tested by

no test coverage detected