Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ toEncoded
Function
toEncoded
packages/effect/src/SchemaAST.ts:4853–4853 ·
view source on GitHub ↗
(ast: AST)
Source
from the content-addressed store, hash-verified
4851
* @since 4.0.0
4852
*/
4853
export
const
toEncoded = (ast: AST): AST => toType(flip(ast))
4854
4855
function
flipEncoding(ast: AST, encoding: Encoding): AST {
4856
let
from = replaceEncoding(ast, undefined)
Callers
5
templateLiteralParser
Function · 0.70
getIndexSignatureKeys
Function · 0.70
constructor
Method · 0.70
getExpected
Method · 0.70
middlewareEncoding
Function · 0.70
Calls
2
toType
Function · 0.70
flip
Function · 0.70
Tested by
no test coverage detected