as_named_array#
- named_arrays.as_named_array(value)#
Cast the argument to an instance of
named_arrays.AbstractArray.If the argument is not an instance of
named_arrays.AbstractArray, wrap it in an instance ofnamed_arrays.ScalarArray, otherwise do nothing.