Last Updated: February 25, 2016
·
522
· mejarc

Detect vs. select

items.detect(...)

returns first element that meets criteria

items.select(...)

returns all elements that meet criteria