This function functions equivalently to (and is implemented with) the built-in
Array.includes. It is included in Flurp partly for its expressive semantics,
because mostly because equalsOneOf can use a more concise type annotation when
the type of possible inputs is wider than the elements of the array.
Remarks
This function functions equivalently to (and is implemented with) the built-in
Array.includes
. It is included in Flurp partly for its expressive semantics, because mostly becauseequalsOneOf
can use a more concise type annotation when the type of possible inputs is wider than the elements of the array.