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

Function getCandidates

packages/effect/src/SchemaAST.ts:2796–2802  ·  view source on GitHub ↗
(
  input: any,
  types: ReadonlyArray<AST>,
  isConstructor = false
)

Source from the content-addressed store, hash-verified

2794 * @internal
2795 */
2796export function getCandidates(
2797 input: any,
2798 types: ReadonlyArray<AST>,
2799 isConstructor = false
2800): ReadonlyArray<AST> {
2801 return getIndex(types)(input, isConstructor)
2802}
2803
2804/**
2805 * AST node representing a union of schemas.

Callers 2

getParserMethod · 0.85
Schema.tsFile · 0.85

Calls 1

getIndexFunction · 0.85

Tested by

no test coverage detected