UNPKG

sparkscript

Version:
15 lines 533 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const components_1 = require("../core/components"); class VariableCondition extends components_1.ConditionalBlock { /** * If a specific variable has or is equal to a property. * @param condition Condition to match for. * @param args Arguments to pass. */ constructor(condition, ...args) { super("if_var", condition, args, false); } } exports.default = VariableCondition; //# sourceMappingURL=VariableCondition.js.map