cast


Description:

[ Version ( since = "5.0.0" ) ]
public Scalar? cast (DataType data_type, CastOptions? options) throws Error

Parameters:

this

A Scalar.

data_type

A DataType of the casted scalar.

options

A CastOptions.

Returns:

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