isUuid

fun isUuid(candidateUuid: String): Boolean

Check whether a given string is a valid UUID.

Return

true iff candidateUuid is a valid UUID.

Parameters

candidateUuid

A candidate UUID to be checked.

fun String.isUuid(): Boolean

See documentation for isUuid.