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

Function isCustom

packages/effect/src/sql/Statement.ts:215–218  ·  view source on GitHub ↗
(
  kind: A["kind"]
)

Source from the content-addressed store, hash-verified

213 * @since 4.0.0
214 */
215export const isCustom = <A extends Custom<any, any, any, any>>(
216 kind: A["kind"]
217) =>
218(u: unknown): u is A => isSegment(u) && u._tag === "Custom" && u.kind === kind
219
220/**
221 * Union of low-level segment types that make up a SQL `Fragment`.

Callers

nothing calls this directly

Calls 1

isSegmentFunction · 0.85

Tested by

no test coverage detected