Sign in
chromium
/
devtools
/
devtools-frontend
/
6aa3c34f42657dd527efa9e2e5d7bca239ad120a
/
.
/
node_modules
/
rambda
/
src
/
pathEq.js
blob: 6e92949647ecf086c43d83c8e15a91f6a9cbf928 [
file
]
import
{
curry
}
from
'./curry.js'
import
{
equals
}
from
'./equals.js'
import
{
path
}
from
'./path.js'
function
pathEqFn
(
pathToSearch
,
target
,
input
){
return
equals
(
path
(
pathToSearch
,
input
),
target
)
}
export
const
pathEq
=
curry
(
pathEqFn
)