add initial marp implementation with sample content and build configuration

This commit is contained in:
2025-09-13 18:13:22 +02:00
parent dcacc9b409
commit e5f219507f
10319 changed files with 1402023 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.wrapArray = exports.default = void 0;
/** @module */
/**
* Wrap value in array if it is not an array.
*
* @function wrapArray
* @param {*} valOrArr
* @return {Array}
*/
const wrapArray = valOrArr => {
if (valOrArr == null || valOrArr === false) return [];
if (valOrArr instanceof Array) return valOrArr;
return [valOrArr];
};
exports.wrapArray = wrapArray;
var _default = exports.default = wrapArray;