Return the enumeration constant associated with an ndarray data type string.
stdlib.io
stdlib-js/ndarray-base-dtype-str2enum