Skip to main content
Base type for values that can be stored in inputs. Provides functions for checking the underlying value type.

Static Functions

number

Constructors for DataValue types. Each function returns a mutable DataValue container of the corresponding underlying type. Creates a DataValue that stores a number.

string

Creates a DataValue that stores a string.

boolean

Creates a DataValue that stores a boolean.

color

Creates a DataValue that stores a color.

Methods

isNumber

Base type for values that can be stored in inputs. Provides functions for checking the underlying value type. Returns true if the value is a number.

isString

Returns true if the value is a string.

isBoolean

Returns true if the value is a boolean.

isColor

Returns true if the value is a color.