a16758c7b5
- HTML/CSS frontend mitQuest-System und Spieler-Management - Node.js/Express backend mit SQLite database - REST API endpoints für game state, spieler, notes - AI instructions documentation - Würfelfunktionen und Tracker-UI
13 lines
331 B
JavaScript
13 lines
331 B
JavaScript
'use strict';
|
|
|
|
exports.getBooleanOption = (options, key) => {
|
|
let value = false;
|
|
if (key in options && typeof (value = options[key]) !== 'boolean') {
|
|
throw new TypeError(`Expected the "${key}" option to be a boolean`);
|
|
}
|
|
return value;
|
|
};
|
|
|
|
exports.cppdb = Symbol();
|
|
exports.inspect = Symbol.for('nodejs.util.inspect.custom');
|