can_cast_implicitly()

Whether or not we can implicitly cast from the source type to the other type

Arguments & returns

can_cast_implicitly(source_type, target_type)

Scalar
Overload link source_typetarget_type Returns
#01 ANYANY BOOLEAN

Example

can_cast_implicitly example
SQL
Haybarn WASM 1.5.5-rc3 · In your browser

Engine example · Run to view results.

Catalog examples

SELECT
  can_implicitly_cast (NULL::INTEGER, NULL::BIGINT);