cast


Description:

[ Version ( since = "0.7.0" ) ]
public Array? cast (DataType target_data_type, CastOptions? options) throws Error

Parameters:

this

A Array.

target_data_type

A DataType of cast target data.

options

A CastOptions.

Returns:

A newly created casted array on success, null on error.