MCPcopy Create free account
hub / github.com/microsoft/SandDance / css

Function css

docs/app/js/sanddance-app.js:24132–24149  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24130 * @public
24131 */ parcelHelpers.export(exports, "css", ()=>css);
24132function css() {
24133 var args = [];
24134 for(var _i = 0; _i < arguments.length; _i++)args[_i] = arguments[_i];
24135 var classes = [];
24136 for(var _a = 0, args_1 = args; _a < args_1.length; _a++){
24137 var arg = args_1[_a];
24138 if (arg) {
24139 if (typeof arg === "string") classes.push(arg);
24140 else if (arg.hasOwnProperty("toString") && typeof arg.toString === "function") classes.push(arg.toString());
24141 else {
24142 // eslint-disable-next-line @typescript-eslint/no-explicit-any
24143 for(var key in arg)// eslint-disable-next-line @typescript-eslint/no-explicit-any
24144 if (arg[key]) classes.push(key);
24145 }
24146 }
24147 }
24148 return classes.join(" ");
24149}
24150
24151},{"@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"cQrva":[function(require,module,exports) {
24152var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

Callers

nothing calls this directly

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected