deno.land / x / froebel@v0.23.2 / except.ts
123456export const assert = (condition: unknown, message?: string, type = Error) => { if (!(typeof condition === "function" ? condition() : condition)) { throw new type(message); }};
Version Info