UNPKG

@silen/is-int8-array

Version:

Check if the parameter is int8array

22 lines (16 loc) 373 B
/*! * @silen/is-int8-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 isInt8Array(val) { return toStr.call(val) === '[object Int8Array]'; } exports.isInt8Array = isInt8Array; return exports; }({}));