Closed jasny closed 1 year ago
use Cypress\Curry as C; $addTen = C\curry('+', 10); echo $addTen(4); // output 14 $atLeast10 = C\curry('>=', 10); echo $atLeast10(1) ? 'more' : 'less'; // output less
+
-
*
/
%
**
&
∣
^
~
<<
>>
==
===
!=
!==
<
>
<=
>=
and
&&
or
∣∣
xor
!
not
.
+
,-
,*
,/
,%
,**
&
,∣
,^
,~
,<<
,>>
==
,===
,!=
,!==
,<
,>
,<=
,>=
and
/&&
,or
/∣∣
,xor
,!
/not
.