UNPKG

@silen/is-int32-array

Version:

Check if the parameter is int32array

19 lines (14 loc) 369 B
/*! * @silen/is-int32-array v1.0.3 * (c) 2020 * author: sunsilent * email: sunsilently@outlook.com * @license MIT */ 'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var toStr = Object.prototype.toString; function isInt32Array(val) { return toStr.call(val) === '[object Int32Array]'; } exports.isInt32Array = isInt32Array;