isOperationSide

Test if an input value is a BLAS operation side.

Usage

var isOperationSide = require( '@stdlib/blas/base/assert/is-operation-side' );

isOperationSide( value )

Tests if an input value is a BLAS operation side.

var bool = isOperationSide( 'right' );
// returns true

bool = isOperationSide( 'left' );
// returns true

Examples

var isOperationSide = require( '@stdlib/blas/base/assert/is-operation-side' );

var bool = isOperationSide( 'right' );
// returns true

bool = isOperationSide( 'left' );
// returns true

bool = isOperationSide( '' );
// returns false

bool = isOperationSide( 'foo' );
// returns false
Did you find this page helpful?