2017-06-14 90 views

回答

3

由于没有R.some ...

它被称为any

我该如何在Ramda中实现以下功能?

你会写

const hasKey = (p, o) => R.any(p, R.values(o)) 
相关问题