Skip to content

StringTableGet

Class Documentation

Edit documentation

A getter that reads a script variable as a string. If the variable holds a String, the getter returns it. Otherwise, or if the variable does not exist, the getter returns Default if it is set and fails with a script error if it is not. See ScriptTableGet for Table and Var.

Read as a string hash (IStringHashGet), the getter returns the FNV-1a hash of the lowercased string.

Properties

Default

Option<String> = null
Edit documentation

The string the getter returns if the variable is missing or is not a String. Unset, the getter fails instead.