API reference

python:irx:irx.analysis.types.is_explicitly_castable

function is_explicitly_castable

is_explicitly_castable(source: astx.DataType | None, target: astx.DataType | None) -> bool

Source: packages/irx/src/irx/analysis/types.py:1062

Return whether an explicit Cast expression is allowed.

Parameters

Returns

Type: bool

Search documentation

Type to search.