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

Function isFragment

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

Source from the content-addressed store, hash-verified

113 * @since 4.0.0
114 */
115export const isFragment = (u: unknown): u is Fragment => hasProperty(u, FragmentTypeId)
116
117/**
118 * Creates a type guard for custom SQL segments with the specified custom kind.

Callers 2

statementFunction · 0.85
extractPrimitiveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected