added helper for returning the first match in an array

This helper would be useful for many of our team's use cases. I know you can just grab the first item manually, but it'd be cleaner to have it in the API.