Skip to main content

where

Filter an array by a boolean condition. Returns a new array of elements that satisfy the predicate.


Examples

List all packages that start with "openssl":

packages.where(name == /^openssl/)