value to test
boolean indicating whether an input value is a supported ndarray casting mode
var bool = isCastingMode( 'none' );
// returns true
bool = isCastingMode( 'equiv' );
// returns true
bool = isCastingMode( 'safe' );
// returns true
bool = isCastingMode( 'same-kind' );
// returns true
bool = isCastingMode( 'unsafe' );
// returns true
bool = isCastingMode( 'foo' );
// returns false
Tests whether an input value is a supported ndarray casting mode.