Performs a case-insensitive comparison of two UUID strings.
Handles null/undefined gracefully — two nullish values are considered equal,
but a nullish value is never equal to a non-nullish value.
Parameters
uuid1: string|null|undefined
First UUID to compare
uuid2: string|null|undefined
Second UUID to compare
Returns boolean
true if the UUIDs are equal (case-insensitive), false otherwise
Example
// Cross-platform comparison (SQL Server uppercase vs PostgreSQL lowercase) UUIDsEqual('A1B2C3D4-E5F6-7890-ABCD-EF1234567890', 'a1b2c3d4-e5f6-7890-abcd-ef1234567890') // true
Performs a case-insensitive comparison of two UUID strings. Handles null/undefined gracefully — two nullish values are considered equal, but a nullish value is never equal to a non-nullish value.