UNPKG

nativescript-fabric

Version:
16 lines 448 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function stringify(object) { var seen = []; return JSON.stringify(object, function (key, val) { if (val != null && typeof val === 'object') { if (seen.indexOf(val) >= 0) { return; } seen.push(val); } return val; }); } exports.stringify = stringify; //# sourceMappingURL=helper.js.map