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

Function hasInput

packages/effect/src/SchemaIssue.ts:87–89  ·  view source on GitHub ↗
(issue: Issue)

Source from the content-addressed store, hash-verified

85 * @since 4.0.0
86 */
87export function hasInput(issue: Issue): issue is Issue & { readonly input: unknown } {
88 return Object.hasOwn(issue, "input")
89}
90
91/**
92 * Union of all terminal (leaf) issue types that have no inner `Issue` children.

Callers 1

formatInputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected