view


Description:

[ Version ( since = "0.15.0" ) ]
public Array? view (DataType return_type) throws Error

Parameters:

this

A Array.

return_type

A DataType of the returned view.

Returns:

A zero-copy view of this array with the given type. This method checks if the `return_type` are layout-compatible.