MCPcopy
hub / github.com/Semantic-Org/Semantic-UI / isCircular

Function isCircular

test/helpers/sinon.js:471–478  ·  view source on GitHub ↗
(object, objects)

Source from the content-addressed store, hash-verified

469 }
470
471 function isCircular(object, objects) {
472 if (typeof object !== "object") { return false; }
473 var i, l;
474 for (i = 0, l = objects.length; i < l; ++i) {
475 if (objects[i] === object) { return true; }
476 }
477 return false;
478 }
479
480 function ascii(f, object, processed, indent) {
481 if (typeof object === "string") {

Callers 2

asciiFunction · 0.85
sinon.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…