less
Updated on August 22, 2024Source codeTests
createLess
is a pipe that transforms a number to a boolean indicating whether or not it is less than a given threshold.
Create less than
Call createLess
with these parameters to create your less
function:
Parameter
Type
Required
Description
threshold
number
yes
The threshold to compare against.