API Reference > bentleyjs-core > Utils > compareStringsOrUndefined compareStringsOrUndefined Function compareStringsOrUndefined(lhs?: string, rhs?: string): number Parameter Type Description lhs string rhs string Returns - number Defined in core/bentley/src/Compare.ts Line 64 Last Updated: 15 June, 2021