API Reference > Geometry-core > CartesianGeometry > Geometry > lexicalYXLessThan lexicalYXLessThan MethodStatic Lexical comparison of (a.x,a.y) (b.x,b.y) with y as first test, x second. This is appropriate for a vertical sweep in the plane. lexicalYXLessThan(a: XYZ | XY, b: XYZ | XY): | "1" | "-1" Parameter Type Description a XYZ | XY b XYZ | XY Returns - | "1" | "-1" Defined in Geometry.ts Line 292 Last Updated: 12 June, 2024