muschema
Version:
Schemas for mudb
16 lines (15 loc) • 573 B
TypeScript
import { MuSchema } from './schema';
import { MuReadStream, MuWriteStream } from 'mustreams';
export declare class MuBoolean implements MuSchema<boolean> {
readonly identity: boolean;
readonly muType: string;
readonly json: object;
constructor(id?: boolean);
alloc(): boolean;
free(_: boolean): void;
equal(x: boolean, y: boolean): boolean;
clone(b: boolean): boolean;
copy(source: boolean, target: boolean): void;
diff(a: boolean, b: boolean, stream: MuWriteStream): boolean;
patch(a: boolean, stream: MuReadStream): boolean;
}