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

Function hasInput

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

Source from the content-addressed store, hash-verified

82 * @since 4.0.0
83 */
84export function hasInput(issue: Issue): issue is Issue & { readonly input: unknown } {
85 return Object.hasOwn(issue, "input")
86}
87
88/**
89 * 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