expression

abstract val expression: String

The formula expression that computes the property's value. The expression uses Notion's formula syntax, which is similar to spreadsheet formulas.

Examples:

  • prop("Price") * prop("Quantity") - Calculates total cost

  • if(prop("Status") == "Done", "Complete", "In Progress") - Conditional logic

  • concat(prop("First Name"), " ", prop("Last Name")) - Text manipulation

See also