@kitten-science/kitten-scientists
Version:
Add-on for the wonderful incremental browser game: https://kittensgame.com/web/
14 lines • 408 B
JavaScript
import { is } from "@oliversalzburg/js-utils/data/nil.js";
export const cl = (...args) => [
"👩🔬",
...args
.filter(arg => arg !== "")
.flatMap((maybeError) => {
if (is(maybeError, Error)) {
const error = maybeError;
return [error.name, error.message, error.stack];
}
return maybeError;
}),
];
//# sourceMappingURL=Log.js.map