ndarray data type
ndarray data type
ndarray casting mode
boolean indicating if a data type can be cast to another data type
var bool = isAllowedCast( 'float32', 'float64', 'safe' );
// returns true
bool = isAllowedCast( 'float64', 'int32', 'safe' );
// returns false
Returns a boolean indicating if a provided ndarray data type can be cast to another ndarray data type according to a specified casting mode.