API reference › @evolu/common › Type › Uint8Array
const Uint8Array: base("Uint8Array", (value) =>
Object.prototype.toString.call(value as object) === "[object Uint8Array]"
? ok(value as globalThis.Uint8Array)
: err<Uint8ArrayError>({ type: "Uint8Array", value }),
);
Defined in: packages/common/src/Type.ts:829