recoder-code
Version:
🚀 AI-powered development platform - Chat with 32+ models, build projects, automate workflows. Free models included!
14 lines (13 loc) • 428 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isCommandOptions = exports.commandOptions = void 0;
const symbol = Symbol('Command Options');
function commandOptions(options) {
options[symbol] = true;
return options;
}
exports.commandOptions = commandOptions;
function isCommandOptions(options) {
return options?.[symbol] === true;
}
exports.isCommandOptions = isCommandOptions;