Last Updated: February 25, 2016
·
524
· mejarc

Detect vs. select

items.detect(...)

returns first element that meets criteria

items.select(...)

returns all elements that meet criteria