Esc

uuid_version

procedureextensionsince 0.36.1Source
  • macOS: uuid_version works on macOS
  • Linux: uuid_version works on Linux
  • Windows: uuid_version works on Windows
  • Wasm: uuid_version works on Wasm

Reads the version nibble even for reserved variants; e.g. uuid_version(UUID_NIL) == 0.

Signature

uuid_version :: (value: Uuid) -> u8

See also