cast_to_type()

Casts the first argument to the type of the second argument

Arguments & returns

cast_to_type(param, type)

Scalar
Overload link paramtype Returns
#01 ANYANY ANY

Example

cast_to_type example
SQL
Haybarn WASM 1.5.6-rc2 · In your browser

Engine example · Run to view results.