Values


The Scala Debugger language has two types of values: primitives and functions. Primitives serve as the core data representations in the language. Functions act as containers for common instructions that can be repeated and influenced by varying input.

Primitives

Type NameDescriptionCode Representation
TruthRepresents true/false logic.true, false
NumberRepresents any numeric value.123.456
TextRepresents a series of characters, typically thought of as a string."my text"
UndefinedRepresents when input is not provided or not returned.undefined

Functions

Comes in two flavors: native and interpreted. Native functions are written in Scala and exposed to the Scala Debugger language such as equal. Interpreted functions are written in the Scala Debugger language. For more information, see the section about functions.