boundlab.utils.cast#

boundlab.utils.cast(ty, value)[source]#

Runtime-checked cast: dies (via beartype) if value is not a ty.