UNPKG

@lodestar/prover

Version:

A Typescript implementation of the Ethereum Consensus light client

9 lines 278 B
export function assertLightClient(client) { if (!client) { throw new Error("Light client is not initialized yet."); } } export function isTruthy(value) { return value !== undefined && value !== null && value !== false; } //# sourceMappingURL=assertion.js.map