Skip to main content

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:

ObjectDescription
DurationRepresents a time-based duration (hours, minutes, seconds).
FileRepresents a file reference with path, name, and content.
InstantA point in time on the UTC timeline.
JsonNodeA parsed JSON structure for reading and navigating JSON data.
LocalDateA date without time (year, month, day).
LocalDateTimeA date and time without a time zone.
LocalTimeA time without a date (hour, minute, second).
ObjectNodeA mutable JSON object for building JSON structures.
PeriodA date-based amount of time (years, months, days).
SuiteTableThe primary tabular data structure for creating and manipulating tables.