Mecha CMS

Helper functions.

le

Less than or equal to.

2.2.1

le($a, $b);

Example:

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

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