KScript docs
EN

email 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
.domainstringThe part after the @, in lower case.
.localstringThe part before the @, as it was written.

Methods from any

Methods from string