@stdlib/esm
Version:
ES module distribution for Stdlib, a standard library for JavaScript and Node.js.
3 lines • 531 B
JavaScript
// This file is a part of stdlib. License is Apache-2.0: http://www.apache.org/licenses/LICENSE-2.0
import t from"./is-int32array.js";import r from"./../constants/math/int32-max.js";import n from"./../constants/math/int32-min.js";var a="function"==typeof Int32Array?Int32Array:null,o=t,i=r,f=n,m=a;function s(){var t,r;if("function"!=typeof m)return!1;try{r=new m([1,3.14,-3.14,i+1]),t=o(r)&&1===r[0]&&3===r[1]&&-3===r[2]&&r[3]===f}catch(r){t=!1}return t}var c=s;export default c;
//# sourceMappingURL=has-int32array-support.js.map