KScript docs
EN

uuid fields and methods

A field is a plain fact about the value, read with a dot and no brackets: $value.name. A method takes arguments or does work, and is called with ->: $value->name(arguments), or with the value piped in: $value |> name(arguments).

Fields

FieldTypeDescription
.timestampdateWhen a version 7 UUID was made, in UTC, or null for other versions.
.versionnumberThe UUID's version: 4 for random ones, 7 for time-ordered ones, 8 for custom ones (0 for the nil UUID).

Methods from any

Methods from string