MCPcopy Create free account
hub / github.com/breck7/scroll / preludeKindId

Method preludeKindId

external/.scrollLibs.js:19208–19212  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19206 return PreludeKinds[this.getAtom(0)] || PreludeKinds[this._getExtendedAtomTypeId()]
19207 }
19208 get preludeKindId() {
19209 if (PreludeKinds[this.getAtom(0)]) return this.getAtom(0)
19210 else if (PreludeKinds[this._getExtendedAtomTypeId()]) return this._getExtendedAtomTypeId()
19211 return PreludeAtomTypeIds.anyAtom
19212 }
19213 _getExtendedAtomTypeId() {
19214 const arr = this._getAncestorsArray()
19215 return arr[arr.length - 1].id

Callers

nothing calls this directly

Calls 2

getAtomMethod · 0.45

Tested by

no test coverage detected