General Functions

General functions support common checks and utility operations.

FunctionDescriptionExamples
IS_EMPTYCheck if value is emptyIS_EMPTY("") → true
IS_EMPTY([]) → true
IS_EMPTY({}) → true
IS_EMPTY(NULL) → true
IS_EMPTY(0) → false
IS_EMPTY(" ") → false
IS_EMPTY(FALSE) → false
LENLength of text or arrayLEN("hello") → 5
LEN("") → 0LEN([1, 2, 3]) → 3
GETReturns the value at path of an object or array. Use dot notation for nested access. Array indices start at 1.GET({"name": "John"}, "name") -> "John"
GET([10, 20, 30], "1") -> 10
GET({"user": {"name": "Jane"}}, "user.name") -> "Jane"
TO_BOOLEANConvert a value to a booleanTO_BOOLEAN("true") → TRUE
TO_BOOLEAN("false") → FALSE
TO_BOOLEAN(1) → TRUE
TO_BOOLEAN(0) → FALSE
TO_BOOLEAN("") → FALSE
TO_NUMBERConvert a value to a numberTO_NUMBER("42") → 42
TO_NUMBER(TRUE) → 1
TO_NUMBER(FALSE) → 0
TO_NUMBER(NULL) → 0
TO_TEXTConvert a value to textTO_TEXT(42) → "42"
TO_TEXT(TRUE) → "TRUE"
TO_TEXT(NULL) → ""
General Functions - TemplateDocs Documentation