Help centerConsole

Getting Started

IntroductionCreate a projectSetup Blutui CourierFolder StructureRunning Your ProjectIntelliSense

AI Components

Getting started

Courier

Getting startedCommandsConfiguration
Upgrade

Cassettes

Getting Started

Canvas

ExpressionsFilters & functionsCanvasTemplatingVariables
constantdefineddivisible byemptyeveniterablenulloddsame as
Help centerConsole
DocumentationAPI ReferenceGuidesChangelog
Tests

divisible by

The divisible by test checks if a variable is divisible by a number.

{% if loop.index is divisible by(3) %}
  ...
{% endif %}

Last updated on

defined

The defined test checks if a variable is defined in the current context.

empty

The empty test checks if a variable is an empty string, an empty array, an empty hash, exactly false, or exactly null.