assertthat
Version:
assertthat provides fluent TDD.
10 lines (9 loc) • 409 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.prettyPrintSet = void 0;
const prettyPrintArray_1 = require("../forArrays/prettyPrintArray");
const prettyPrintSet = function (value, depth = 0) {
const prettyPrintedArray = (0, prettyPrintArray_1.prettyPrintArray)([...value], depth);
return `Set(${prettyPrintedArray})`;
};
exports.prettyPrintSet = prettyPrintSet;