value to test
boolean indicating whether an input value is a supported ndarray index mode
var bool = isIndexMode( 'wrap' );
// returns true
bool = isIndexMode( 'clamp' );
// returns true
bool = isIndexMode( 'throw' );
// returns true
bool = isIndexMode( 'foo' );
// returns false
Tests whether an input value is a supported ndarray index mode.