UNPKG
lean4-code-actions
Version:
latest (1.1.32)
1.1.32
Refactorings and snippets for Lean 4
lean4-code-actions
/
libs
/
utils
/
remeda
/
every.ts
7 lines
(4 loc)
•
177 B
text/typescript
View Raw
1
2
3
4
5
6
7
import
{
Filter
}
from
'../Filter'
import
{ all }
from
'./all'
export
const
every = <T>
(
filter: Filter<T>
) =>
(
array: T[]
) =>
array.
every
(filter)
export
const
everyTrue = all