UNPKG

@dialog-db/query

Version:

Datalog query engine inspired by Datomic

20 lines 935 B
export function is(value: unknown): value is API.Scalar; export function equal(self: API.Scalar, other: API.Scalar): boolean; export function toJSON(self: API.Scalar): string | bigint | boolean | Bytes.JSON | Link.JSON | API.Integer | API.Float | null; export function entropy(value: API.Scalar): number; export function toString(self: API.Scalar): string; export function toDebugString(self: API.Scalar): string; export function compare(self: API.Scalar, to: API.Scalar): 0 | -1 | 1; export function unify(actual: API.Scalar, expected: API.Scalar, scope: API.Bindings): { ok: API.Bindings; error?: undefined; } | { error: RangeError; ok?: undefined; }; export function expect<T extends API.Scalar>(value: T | undefined, message: string): T; import * as Link from './data/link.js'; import * as Bytes from './data/bytes.js'; import * as API from './api.js'; export { Link, Bytes }; //# sourceMappingURL=constant.d.ts.map