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