Skip to content

LOT Functional Keywords Index

This section provides documentation for LOT Functional Keywords (Imperative Actions), mirroring the structure found in the LOT-Samples Syntax Functional.

Functional keywords are commands that instruct the broker to perform specific operations. They use an imperative form because the broker itself is the actor performing these actions.

📂 Data

Function Name Description Documentation
KEEP TOPIC Stores data internally within the broker. View Docs
SET Defines or modifies variables dynamically. View Docs
GET TOPIC Retrieves data from a specified topic. View Docs
PUBLISH TOPIC Broadcasts data to subscribed clients. View Docs
AS Performs data type conversions. View Docs

⚙️ Conditional Logic & Flow Control

Function Name Description Documentation
IF / THEN / ELSE Executes actions based on specific conditions. View Docs
ALLOW / DENY Grants or revokes permission in Rules. View Docs
USER IS / USER HAS Checks user identity or properties in Rules. View Docs

🧩 Component Building & Configuration

Function Name Description Documentation
ADD Adds properties (Models) or config/mappings (Routes). View Docs
WITH Specifies attributes/values for other keywords. View Docs
TRIGGER Marks a model property as the trigger. View Docs
ON / DO Defines event triggers and action blocks. View Docs

🔄 Transformations

Function Name Description Documentation
REPLACE Replaces substrings within a string. View Docs
TRIM Removes leading/trailing whitespace. View Docs
SPLIT Splits a string into parts based on a delimiter. View Docs
FILTER Filters data based on conditions (Context-dependent). View Docs