Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/Effect-TS/effect
/ orUndefined
Function
orUndefined
packages/effect/src/SchemaAST.ts:2493–2493 ·
view source on GitHub ↗
(ast: AST)
Source
from the content-addressed store, hash-verified
2491
2492
/** @internal */
2493
export
const
orUndefined = (ast: AST): AST => Union.make([ast, undefinedKeyword])
2494
2495
/**
2496
* Equivalent at runtime to the built-in TypeScript utility
type
`Partial`.
Callers
1
partial
Function · 0.85
Calls
1
make
Method · 0.65
Tested by
no test coverage detected