Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ formatIsOptional
Function
formatIsOptional
packages/effect/src/SchemaAST.ts:3016–3018 ·
view source on GitHub ↗
(isOptional: boolean | undefined)
Source
from the content-addressed store, hash-verified
3014
}
3015
3016
function
formatIsOptional(isOptional: boolean | undefined): string {
3017
return
isOptional ?
"?"
:
""
3018
}
3019
3020
/** @internal */
3021
export
function
memoizeThunk<A>(f: () => A): () => A {
Callers
1
getExpected
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected