function resolve( layout ) {
	var t = ( typeof layout );
	if ( t === 'string' ) {
		return ( str2enum( layout ) === null ) ? null : layout;
	}
	if ( t === 'number' ) {
		return enum2str( layout );
	}
	return null;
}
Returns the layout string associated with a supported BLAS memory layout value.

@param {*} layout - layout value
@returns {(string|null)} layout string or null

@example
var str2enum = require( '@stdlib/blas/base/layout-str2enum' );

var v = resolve( str2enum( 'row-major' ) );
// returns 'row-major'