wrap_single_convertor

uarray.wrap_single_convertor(convert_single)[source]

Wraps a __ua_convert__ defined for a single element to all elements. If any of them return NotImplemented, the operation is assumed to be undefined.

Accepts a signature of (value, type, coerce).