API Reference > geometry-core > ArraysAndInterfaces > GrowableFloat64Array > compare compare MethodStatic sort-compatible comparison. Returns (a-b) which is negative if a<b zero if a === b (with exact equality) positive if a>b compare(a: any, b: any): number Parameter Type Description a any b any Returns - number Defined in geometry3d/GrowableFloat64Array.ts Line 53 Last Updated: 12 June, 2024