Types & Objects
This section covers the data types and built-in objects available in the B2Win Suite scripting language.
Primitive Types
The language supports standard primitive types: Boolean, Integer, Double, Float, Long, and String. Each type includes static methods for parsing and conversion.
See Primitives for the full reference.
Arrays & Maps
Arrays and Maps provide collection data structures for storing and manipulating groups of values.
See Arrays & Maps for creation, access, and iteration patterns.
Table Types
When working with tabular data, scripts interact with Row, Column, and StringColumn types that represent parts of a SuiteTable.
See Row, Column & StringColumn for the available methods.
Objects
Built-in object types provide structured data representations used throughout scripts:
| Object | Description |
|---|---|
| Duration | Represents a time-based duration (hours, minutes, seconds). |
| File | Represents a file reference with path, name, and content. |
| Instant | A point in time on the UTC timeline. |
| JsonNode | A parsed JSON structure for reading and navigating JSON data. |
| LocalDate | A date without time (year, month, day). |
| LocalDateTime | A date and time without a time zone. |
| LocalTime | A time without a date (hour, minute, second). |
| ObjectNode | A mutable JSON object for building JSON structures. |
| Period | A date-based amount of time (years, months, days). |
| SuiteTable | The primary tabular data structure for creating and manipulating tables. |