Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Effect-TS/effect
/ createTransformationGuard
Function
createTransformationGuard
packages/effect/src/SchemaAST.ts:1996–1997 ·
view source on GitHub ↗
(tag: T)
Source
from the content-addressed store, hash-verified
1994
1995
const
createTransformationGuard =
1996
<T extends TransformationKind[
"_tag"
]>(tag: T) =>
1997
(ast: TransformationKind): ast is Extract<TransformationKind, { _tag: T }> => ast._tag === tag
1998
1999
/**
2000
* @category guards
Callers
1
SchemaAST.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected