arthurai.core.util.can_cast#

arthurai.core.util.can_cast(cast_type, obj)#

Returns True if obj can be cast to cast_type, False if not

Return type

bool