MCPcopy
hub / github.com/postcss/postcss / prev

Method prev

lib/node.js:256–260  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

254 }
255
256 prev() {
257 if (!this.parent) return undefined
258 let index = this.parent.index(this)
259 return this.parent.nodes[index - 1]
260 }
261
262 rangeBy(opts = {}) {
263 let inputString =

Callers 2

RuleFunction · 0.80
node.test.tsFile · 0.80

Calls 1

indexMethod · 0.80

Tested by 1

RuleFunction · 0.64