@silen/is-int16-array
Version:
Check if the parameter is int16array
19 lines (14 loc) • 369 B
JavaScript
/*!
* @silen/is-int16-array v1.0.3
* (c) 2020
* author: sunsilent
* email: sunsilently@outlook.com
* @license MIT
*/
;
Object.defineProperty(exports, '__esModule', { value: true });
var toStr = Object.prototype.toString;
function isInt16Array(val) {
return toStr.call(val) === '[object Int16Array]';
}
exports.isInt16Array = isInt16Array;