API Reference > bentleyjs-core > Utils > comparePossiblyUndefined comparePossiblyUndefined Function comparePossiblyUndefined<T>(compareDefined: (lhs: T, rhs: T) => number, lhs?: T, rhs?: T): number Parameter Type Description compareDefined (lhs: T, rhs: T) => number lhs T rhs T Returns - number Defined in core/bentley/src/Compare.ts Line 54 Last Updated: 12 June, 2024