Returns the data type string associated with an ndarray data type enumeration constant.
data type enumeration constant
data type string
var str2enum = require( `@stdlib/ndarray/base/dtype-str2enum` ); var v = str2enum( 'float64' ); // returns <number> var dt = enum2str( v ); // returns 'float64'
Returns the data type string associated with an ndarray data type enumeration constant.