KScript docs
EN

slug 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
.wordslistThe words: ['my', 'first', 'post'].

Methods from any

Methods from string