spray.util.pimps
Returns the first defined result of the given function when applied to the underlying sequence (in order) or None, if the given function returns None for all elements of the underlying sequence.
None
Returns the first object of type B in the underlying sequence or None, if none is found.