Type Assertion

Nodes in this category assert that a value is of a specific data type, which may be used to invoke automatic conversions to the desired type.

Nodes

NodeDetailsPossible Types
As Bool

Passes a true or false value through as the type Bool, which may be the required type for certain node inputs.

Bool → Bool
Bool[] → Bool[]
As Integer

Converts a Number to the Integer type, which may be the required type for certain node inputs.

Integer → Integer
Integer[] → Integer[]
As Number

Converts an Integer or Bool to the Number type, which may be the required type for certain node inputs. A Bool becomes 0 (false) or 1 (true).

Number → Number
Number[] → Number[]
As String

Type-asserts a value to be a string.

String → String
String[] → String[]
As Vector

Type-asserts a value to be vector data.

Vector → Vector
Vector[] → Vector[]