(edges: Value[])
| 254 | // Setter helpers for the _hasAutoMargin / _hasPosition fast-path flags. |
| 255 | // Unit.Undefined = 0, Unit.Auto = 3. |
| 256 | function hasAnyAutoEdge(edges: Value[]): boolean { |
| 257 | for (let i = 0; i < 9; i++) if (edges[i]!.unit === 3) return true |
| 258 | return false |
| 259 | } |
| 260 | function hasAnyDefinedEdge(edges: Value[]): boolean { |
| 261 | for (let i = 0; i < 9; i++) if (edges[i]!.unit !== 0) return true |
| 262 | return false |
no outgoing calls
no test coverage detected