Function
createYRange
(yanchor: Y.RelativePosition, yhead: Y.RelativePosition)
Source from the content-addressed store, hash-verified
| 16 | } |
| 17 | |
| 18 | export const createYRange = (yanchor: Y.RelativePosition, yhead: Y.RelativePosition) => { |
| 19 | return { |
| 20 | yanchor, |
| 21 | yhead, |
| 22 | toJSON() { |
| 23 | return { |
| 24 | yanchor: Y.relativePositionToJSON(this.yanchor), |
| 25 | yhead: Y.relativePositionToJSON(this.yhead), |
| 26 | } |
| 27 | }, |
| 28 | } |
| 29 | } |
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…