1.0.2 • Published 3 years ago

check-circle-json v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

check-circle-json

install

npm install check-circle-json

usage

const a = {
  b: {
    c: null
  }
} as any
a.b.c = a
const [path1, path2] = getCirclePath(a)
console.log(path1, path2) // [ 'b', 'c', 'b' ], [ 'b' ]
const a = {
  b: {
    c: null
  }
}
console.log(getCirclePath(a)) // null
1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago