function toArray(value) {
  return Array.isArray(value) ? value : [value];
}
Finds the declaration for each selected path. Useful for member expressions
or JSXElements. Expects a callback function that maps each path to the name
to look for.

If the callback returns a falsey value, the element is skipped.

@param {function} nameGetter

@return {Collection}