Sign in
chromium
/
devtools
/
devtools-frontend
/
refs/heads/main
/
.
/
node_modules
/
rambda
/
src
/
anyPass.js
blob: 0fae01e84eb5236370ed03206508a07669f27212 [
file
] [
log
] [
blame
] [
edit
]
export
function
anyPass
(
predicates
){
return
(...
input
)
=>
{
let counter
=
0
while
(
counter
<
predicates
.
length
){
if
(
predicates
[
counter
](...
input
)){
return
true
}
counter
++
}
return
false
}
}