UNPKG

@melonproject/protocol

Version:

Technology Regulated and Operated Investment Funds

7 lines (6 loc) 249 B
/** * Similar to asset but throws on runtime if `condition` isn't met. * Possibility to add a `message` and some `data` to trace. * @throws {EnsureError} */ export declare const ensure: (condition: boolean, message: string, data?: any) => void;