Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ isStruct
Function
isStruct
packages/effect/src/unstable/schema/VariantSchema.ts:52–52 ·
view source on GitHub ↗
(u: unknown)
Source
from the content-addressed store, hash-verified
50
* @since 4.0.0
51
*/
52
export
const
isStruct = (u: unknown): u is Struct<any> => Predicate.hasProperty(u, TypeId)
53
54
/**
55
* Type-level helpers
for
variant schema structs.
Callers
1
VariantSchema.ts
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected