Skip to content

someEntry

someEntry(object, predicate) → boolean · Object

Check if any entry in the object matches the predicate.

  • object (required): the object to test

  • predicate (required): lambda (key, value) -> boolean

utlx
someEntry({a: 1, b: 5, c: 3}, (k, v) -> v > 4)  // true

Released under AGPL-3.0.