API reference

python:irx:irx.analysis.types.is_assignable

function is_assignable

is_assignable(target: astx.DataType | None, value: astx.DataType | None) -> bool

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

Return whether a value type can be assigned to a target type.

Parameters

Returns

Type: bool

Search documentation

Type to search.