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