toUUIDOrNull

expect fun String.toUUIDOrNull(): UUID?

Convert string to UUID or null if the string is not an UUID. Accepts simple and hyphenated notations.

actual fun String.toUUIDOrNull(): UUID?