export function must(v, msg) {
    // oxlint-disable-next-line eqeqeq
    if (v == null) {
        throw new Error(msg ?? `Unexpected ${v} value`);
    }
    return v;
}
//# sourceMappingURL=must.js.map