Skip to content

getUuidVersion

getUuidVersion(uuid) → number · Security

Get the version number from a UUID string. See Chapter 38.

  • uuid (required): UUID string
bash
echo '{"id": "550e8400-e29b-41d4-a716-446655440000"}' | utlx -e 'getUuidVersion($input.id)'
# 4
utlx
{
  version: getUuidVersion($input.correlationId)
}

Released under AGPL-3.0.