Topic cluster

Boolean

A true-or-false value used for conditions state and decisions.

View topic page

30 items

The remaining keywords do not make a useful further split. All matching documentation is listed below.

Filters

default

Provide an alternative value in case a value has a falsy value (0, false , undefined or empty string).

Filters

eq_day

Tests if the value is a date and equal to the argument. The value and the argument must be a tuple of the format {Y,M,D} or {{Y,M,D},{H,I,S}} .

Filters

if

Selects an argument depending on a condition.

Filters

if_undefined

Tests whether a value is undefined, returning the given argument.

Filters

in_past

Tests if a date is in the past.

Filters

is_a

Filter a list of resource ids on category, or test if a single resource id belongs to a category.

Filters

is_even

Test if an integer value is even:

Filters

is_not_a

is_not_a mirrors filter#is_a. It is particularly useful when iterating over a category and excluding members of a sub-category (iterating over all images associated with a page except images in the thumbnail category).

Filters

is_number

Test if a value is a number (integer or floating point):

Filters

is_rtl

Check if the given language is a rtl or ltr language.

Filters

is_site_url

Test if the given URL is a url for the current site.

Filters

is_user

Test if a resource is a user.

Filters

match

Match a value with a regular expression.

Filters

member

Finds a value in a list.

Filters

ne_day

Tests if two dates are not equal.

Filters

survey_any_correct_answer

Determine if any answer of a question was correct. Used for showing results of thurstone test questions.

Filters

survey_any_wrong_answer

Determine if any answer of a question was wrong. Used for showing results of thurstone test questions.

Filters

survey_is_stop

Check if there is a ‘stop’ question in list of (survey) blocks

Filters

survey_is_submit

Check if the questions end with a question type that is a submit button.

Filters

yesno

Show a boolean value as a text.