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

Function createParseIssueGuard

packages/effect/src/ParseResult.ts:1824–1825  ·  view source on GitHub ↗
(tag: T)

Source from the content-addressed store, hash-verified

1822
1823const createParseIssueGuard =
1824 <T extends ParseIssue["_tag"]>(tag: T) => (issue: ParseIssue): issue is Extract<ParseIssue, { _tag: T }> =>
1825 issue._tag === tag
1826
1827/**
1828 * Returns `true` if the value is a `Composite`.

Callers 1

ParseResult.tsFile · 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…