Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ isAST
Function
isAST
packages/effect/src/SchemaAST.ts:92–94 ·
view source on GitHub ↗
(u: unknown)
Source
from the content-addressed store, hash-verified
90
* @since 4.0.0
91
*/
92
export
function
isAST(u: unknown): u is AST {
93
return
Predicate.hasProperty(u, TypeId) && u[TypeId] === TypeId
94
}
95
96
/**
97
* Narrows an {@link AST} to {@link Declaration}.
Callers
1
HMR.test.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected