--- id: uuid-equals name: Uuid.equals category: uuid kind: namespace-method tokens: Uuid.equals sig: Uuid.equals(a, b) -> bool tip: Case-insensitive UUID equality. order: 8 ns: Uuid member: equals --- Compares two UUIDs for equality, ignoring case. UUIDs generated by this library are always lowercase, so a plain == works between them — but a UUID that arrived from another system may be upper- or mixed-case, and equals matches it correctly without you having to normalise first. Values of different length are never equal. Parameters: - `a`, `b` — the UUID strings to compare ```ludic program Eq { entry { let lo = "550e8400-e29b-41d4-a716-446655440000" let up = "550E8400-E29B-41D4-A716-446655440000" if Uuid.equals(lo, up) { print(1) } # case-insensitive } } ```