Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Apr 1, 2024 via pnpm

is-typed-array 1.1.10

Is this value a JS Typed Array? This module works cross-realm/iframe, does not depend on `instanceof` or mutable properties, and despite ES6 Symbol.toStringTag.
Package summary
Share
0
issues
1
license
18
MIT
Package created
7 May 2015
Version published
2 Nov 2022
Maintainers
2
Total deps
18
Direct deps
5
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
18 Packages, Including:
available-typed-arrays@1.0.7
call-bind@1.0.7
define-data-property@1.1.4
es-define-property@1.0.0
es-errors@1.3.0
for-each@0.3.3
function-bind@1.1.2
get-intrinsic@1.2.4
gopd@1.0.1
has-property-descriptors@1.0.2
has-proto@1.0.3
has-symbols@1.0.3
has-tostringtag@1.0.2
hasown@2.0.2
is-callable@1.2.7
is-typed-array@1.1.10
possible-typed-array-names@1.0.0
set-function-length@1.2.2
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

5
All Dependencies CSV
β“˜ This is a list of is-typed-array 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
available-typed-arrays1.0.719.9 kBMIT
prod
call-bind1.0.721.6 kBMIT
prod
for-each0.3.34.05 kBMIT
prod
gopd1.0.13.55 kBMIT
prod
has-tostringtag1.0.26.31 kBMIT
prod

Visualizations

Frequently Asked Questions

What does is-typed-array do?

"Is-typed-array" is an npm package that checks whether a given value is a JavaScript Typed Array. It operates across realms/iframes and is independent of instanceof checks, mutable properties, and the ES6 Symbol.toStringTag.

How do you use is-typed-array?

To use "is-typed-array" in your JavaScript project, install the package in your working environment and require it in your code. You can then use the function isTypedArray() to check whether a variable is a Typed Array. Here is an example usage.

For instance, initialize the function:

var isTypedArray = require('is-typed-array');

Then utilize it through the following assertions:

assert.ok(isTypedArray(new Int8Array())); // returns true
assert.equal(false, isTypedArray('foo')); // returns false

"Is-typed-array" will return true for any value that is a Typed Array and false for anything that is not.

Where are the is-typed-array docs?

For "is-typed-array's" documentation, you can refer to the package's GitHub page and its npm page. These pages contain all the necessary information about this package, including its basic function, examples of its usage and the tests connected with this package.