first commit

This commit is contained in:
Ichitux
2026-04-05 03:08:53 +02:00
commit 1082d36c12
28015 changed files with 3767672 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UndefinedContextPlaceholder = void 0;
exports.noUndefinedAsContext = noUndefinedAsContext;
const Value_1 = require("../../../check/arbitrary/definition/Value");
exports.UndefinedContextPlaceholder = Symbol('UndefinedContextPlaceholder');
function noUndefinedAsContext(value) {
if (value.context !== undefined) {
return value;
}
if (value.hasToBeCloned) {
return new Value_1.Value(value.value_, exports.UndefinedContextPlaceholder, () => value.value);
}
return new Value_1.Value(value.value_, exports.UndefinedContextPlaceholder);
}