UNPKG
lean4-code-actions
Version:
latest (1.1.32)
1.1.32
Refactorings and snippets for Lean 4
lean4-code-actions
/
libs
/
utils
/
remeda
/
nequals.ts
10 lines
(6 loc)
•
232 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{ equals, purry }
from
'remeda'
export
function
nequals<T>(
a
: T,
b
: T):
boolean
export
function
nequals<T>(
b
: T):
(
a
: T
) =>
boolean
export
function
nequals
(
) {
return
purry
(<T>
(
a
: T,
b
: T
) =>
!
equals
(a, b),
arguments
) }