Data Types
Learn which values Dynamic Expressions accept, what type a field returns, and which values count as empty.
A literal is a value you write directly in a Dynamic Expression. A value’s type tells you what kind of data it represents, such as text or a number. Use this reference to choose compatible values: operators and functions expect certain types, and an incompatible value can cause an evaluation error.
Write literal values
In plain text, enclose a Dynamic Expression in {{ }}.
Literal | Example |
|---|---|
Decimal number |
|
Quoted text |
|
|
|
|
|
|
|
|
|
You can surround text with single quotes ('hello'), double quotes ("hello"), or backticks (` hello `).
Write a list
Put comma-separated items inside square brackets, as in [item, item]. For example, {{ [1, 2] }} returns a list. Ideanote evaluates each item in the list.
List format | Example |
|---|---|
Nested lists |
|
List with a trailing comma |
|
Empty list |
|
Check the type of a value you select
Values you select when building an expression are data bindings. Each binding already has a type, and selecting it doesn’t change that type.
Type | What it represents |
|---|---|
Text | A string of characters |
Number | A numeric value |
Boolean | A yes-or-no value: |
Date | A date value |
JSON | Data in JSON format |
Category | An option defined for that category |
Record reference | A reference to an existing record, such as an idea or a person |
List | Multiple values of a corresponding type |
Determine the field’s result type
A field containing only one Dynamic Expression can keep the expression’s result type. For example, {{ 12 * 3 }} returns 36 as a number.
Mixing ordinary text with an expression makes the result text. For example, Total: {{ 12 * 3 }} returns Total: 36 as text.
Check what counts as empty
These values count as empty:
nullundefined- Blank text
NaN- An empty object
- An empty list (
[]) - A list containing only
nullorundefinedvalues
Zero (0) and false don’t count as empty.