Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ schema
Function
schema
packages/effect/src/unstable/encoding/Msgpack.ts:403–406 ·
view source on GitHub ↗
(schema: S)
Source
from the content-addressed store, hash-verified
401
* @since 4.0.0
402
*/
403
export
const
schema = <S extends Schema.Constraint>(schema: S): schema<S> =>
404
(Schema.Uint8Array as Schema.instanceOf<Uint8Array<ArrayBuffer>>).pipe(
405
Schema.decodeTo(schema, transformation)
406
)
Callers
1
Transferable.ts
File · 0.50
Calls
1
pipe
Method · 0.65
Tested by
no test coverage detected