equal
Updated on August 22, 2024Source codeTests
createEqual
is a pipe that transforms anything to a boolean indicating whether or not it strictly equals some other value.
Create equal
Call createEqual
with these parameters to create your equal
function:
Parameter
Type
Required
Description
compared
any
yes
The value to compare for strict equality.