can_cast#

rbc.stdlib.data_type_functions.can_cast(from_, to)#

❌ Not implemented

Determines if one data type can be cast to another data type according Type Promotion Rules rules.

Array-API ‘can_cast’ doc