Types

PTPScript supports the following data types:

The documentation will also use the word Mixed to refer to a value that could be more than one type.

To see the type of a value, use the typeof operator.

To check if a value is a certain type, use the other type checking operators.

To convert a value from one type to another, the type casting operators should be used.