2025-07-07 20:58:02 -07:00
|
|
|
globalThis.UNWRAP = (t, ...args) => {
|
|
|
|
if (t == null) {
|
|
|
|
throw new Error(
|
|
|
|
args.length > 0 ? util.format(...args) : "UNWRAP(" + t + ")",
|
|
|
|
);
|
|
|
|
}
|
|
|
|
return t;
|
|
|
|
};
|
2025-08-02 17:31:58 -07:00
|
|
|
globalThis.ASSERT = assert.ok;
|
2025-07-07 20:58:02 -07:00
|
|
|
|
|
|
|
import * as util from "node:util";
|
2025-08-11 22:38:02 -07:00
|
|
|
import * as assert from "node:assert";
|