MCPcopy
hub / github.com/Effect-TS/effect / Uint8ArrayFromSelf

Class Uint8ArrayFromSelf

packages/effect/src/Schema.ts:6199–6208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6197 * @since 3.10.0
6198 */
6199export class Uint8ArrayFromSelf extends declare(
6200 Predicate.isUint8Array,
6201 {
6202 typeConstructor: { _tag: "Uint8Array" },
6203 identifier: "Uint8ArrayFromSelf",
6204 pretty: (): pretty_.Pretty<Uint8Array> => (u8arr) => `new Uint8Array(${JSON.stringify(Array.from(u8arr))})`,
6205 arbitrary: (): LazyArbitrary<Uint8Array> => (fc) => fc.uint8Array(),
6206 equivalence: (): Equivalence.Equivalence<Uint8Array> => array_.getEquivalence(Equal.equals) as any
6207 }
6208) {}
6209
6210/**
6211 * @category number constructors

Callers

nothing calls this directly

Calls 1

declareInterface · 0.85

Tested by

no test coverage detected