createOrNull

fun createOrNull(guid: String): Guid?

Factory method to create a Guid.

Return

A Guid object. If the input string is not a valid GUID, null is returned.

Since

200.6.0

Parameters

guid

A string representation of a 128-bit globally unique identifier.