Skip to content

Flow condition MathJS Expression

Arie J. Godschalk edited this page Nov 15, 2026 · 1 revision

Math.js expression is true / is false

Home · Flows · Conditions

Purpose

Evaluates a Math.js expression as a yes/no Flow condition.

Arguments

Argument What to enter
expression (Math.js expression) Expression in the syntax required by this card; see its example.

Outputs

This card does not provide output tokens.

How it works

Use Math.js syntax and $VariableName$ references. Homey also offers the inverted result.

Example

Prerequisite: Install Better Logic Library and create the Flow described below. Create number variable DoorCount and enter $DoorCount$ > 10. The positive variant passes above 10.

Limitations and tips

This is Math.js syntax, not BLL JavaScript. Errors stop the Flow.

Related guides

Clone this wiki locally