MCPcopy Create free account
hub / github.com/effect-app/libs / getObjectsAST

Function getObjectsAST

packages/vue/src/form.ts:15–27  ·  view source on GitHub ↗
(ast: S.AST.AST)

Source from the content-addressed store, hash-verified

13// : never
14
15function getObjectsAST(ast: S.AST.AST): S.AST.Objects | null {
16 if (S.AST.isObjects(ast)) {
17 return ast
18 }
19 if (S.AST.isDeclaration(ast)) {
20 for (const typeParam of ast.typeParameters) {
21 const result = getObjectsAST(typeParam)
22 if (result) return result
23 }
24 return null
25 }
26 return null
27}
28
29/** @deprecated Use OmegaForm instead */
30export function convertIn(v: number | string | null, type?: "text" | "float" | "int") {

Callers 2

handlePropertySignatureFunction · 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…