Menu

Data Types

Logyx uses a selection of data types. You don't have to use typehinting to indicate the type of value. Logyx automatically assigns the type of value.

String

A string can be typed with or without quotes. When using special characters be sure to add quotes so logyx does not run into any misunderstanding of your input.

example_1: example
example_2: 'example'
example_3: "example"

Integer

An integer can be typed as a number. You may use the prefix - or + to indicate the sign. You may use underscores for improved readability.

example_1: 100000
example_2: +100000
example_3: 100_000

Floating point

An integer can be typed as a number with decimals. You may use the prefix - or + to indicate the sign. You may use underscores for improved readability.

example_1: 1.23
example_2: +1.23

Datetime

A datetime can be typed according to the ISO 8601 format.

example_1: 2023-01-09T07:10:38+00:00
example_2: 2023-01-09T07:10:38Z
example_3: 20230109T071038Z

Boolean

A boolean can be typed as either true or false . The first letter is case-insensitive.

example_1: True
example_2: true

Void

A void can be typed as null . The first letter is case-insensitive.

example_1: Null
example_2: null

List

A list can be typed by using square brackets or in the form of a list using dashes.

example_1: [ a, b, c ]
example_2:
  - a
  - b
  - c
Menu