2017-06-14 94 views

回答

3

由於沒有R.some ...

它被稱爲any

我該如何在Ramda中實現以下功能?

你會寫

const hasKey = (p, o) => R.any(p, R.values(o)) 
相關問題