@silen/is-int32-array
Version:
Check if the parameter is int32array
22 lines (16 loc) • 378 B
JavaScript
/*!
* @silen/is-int32-array v1.0.3
* (c) 2020
* author: sunsilent
* email: sunsilently@outlook.com
* @license MIT
*/
var Type = (function (exports) {
'use strict';
var toStr = Object.prototype.toString;
function isInt32Array(val) {
return toStr.call(val) === '[object Int32Array]';
}
exports.isInt32Array = isInt32Array;
return exports;
}({}));