Sign in
chromium
/
devtools
/
devtools-frontend
/
refs/heads/main
/
.
/
node_modules
/
rambda
/
src
/
pathEq.js
blob: 6e92949647ecf086c43d83c8e15a91f6a9cbf928 [
file
] [
log
] [
blame
] [
edit
]
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
)