Returns a boolean indicating if a provided ndarray data type can be safely cast to another ndarray data type.
ndarray data type
boolean indicating if a data type can be safely cast to another data type
var bool = isSafeCast( 'float32', 'float64' ); // returns true bool = isSafeCast( 'float64', 'int32' ); // returns false
Returns a boolean indicating if a provided ndarray data type can be safely cast to another ndarray data type.