Mecha CMS

Helper functions.

lt

Less than.

2.2.0

lt($a, $b);

Example:

if (lt('abcdef', 5)) { … }
if (lt(['a', 'b', 'c', 'd', 'e', 'f'], 5)) { … }
if (lt(6, 5)) { … }

Note: The $a value will be passed through q function before being compared to the $b value.