Socket
Socket
Sign inDemoInstall

@stdlib/assert-is-complex128

Package Overview
Dependencies
Maintainers
4
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stdlib/assert-is-complex128 - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

2

dist/index.js
"use strict";var s=function(r,e){return function(){return e||r((e={exports:{}}).exports,e),e.exports}};var o=s(function(x,t){
var i=require('@stdlib/complex-float64/dist'),u=require('@stdlib/utils-constructor-name/dist');function c(r){return r instanceof i||u(r)==="Complex128"}t.exports=c
var i=require('@stdlib/complex-float64-ctor/dist'),u=require('@stdlib/utils-constructor-name/dist');function c(r){return r instanceof i||u(r)==="Complex128"}t.exports=c
});var n=o();module.exports=n;
/** @license Apache-2.0 */
//# sourceMappingURL=index.js.map

@@ -32,3 +32,3 @@ /*

* @example
* var Complex128 = require( '@stdlib/complex-float64' );
* var Complex128 = require( '@stdlib/complex-float64-ctor' );
*

@@ -35,0 +35,0 @@ * var x = new Complex128( 4.0, 2.0 );

@@ -27,3 +27,3 @@ /**

* @example
* var Complex128 = require( '@stdlib/complex-float64' );
* var Complex128 = require( '@stdlib/complex-float64-ctor' );
* var isComplex128 = require( '@stdlib/assert-is-complex128' );

@@ -30,0 +30,0 @@ *

@@ -23,3 +23,3 @@ /**

var Complex128 = require( '@stdlib/complex-float64' );
var Complex128 = require( '@stdlib/complex-float64-ctor' );
var constructorName = require( '@stdlib/utils-constructor-name' );

@@ -37,3 +37,3 @@

* @example
* var Complex128 = require( '@stdlib/complex-float64' );
* var Complex128 = require( '@stdlib/complex-float64-ctor' );
*

@@ -40,0 +40,0 @@ * var x = new Complex128( 4.0, 2.0 );

{
"name": "@stdlib/assert-is-complex128",
"version": "0.2.1",
"version": "0.2.2",
"description": "Test if a value is a 128-bit complex number.",

@@ -33,4 +33,4 @@ "license": "Apache-2.0",

"dependencies": {
"@stdlib/complex-float64": "^0.2.1",
"@stdlib/utils-constructor-name": "^0.2.1"
"@stdlib/complex-float64-ctor": "^0.0.2",
"@stdlib/utils-constructor-name": "^0.2.2"
},

@@ -37,0 +37,0 @@ "devDependencies": {},

@@ -36,3 +36,3 @@ <!--

> Test if a value is a [128-bit complex number][@stdlib/complex/float64].
> Test if a value is a [128-bit complex number][@stdlib/complex/float64/ctor].

@@ -59,6 +59,6 @@ <section class="installation">

Tests if a value is a [128-bit complex number][@stdlib/complex/float64].
Tests if a value is a [128-bit complex number][@stdlib/complex/float64/ctor].
```javascript
var Complex128 = require( '@stdlib/complex-float64' );
var Complex128 = require( '@stdlib/complex-float64-ctor' );

@@ -82,4 +82,4 @@ var x = new Complex128( 1.0, 3.0 );

```javascript
var Complex64 = require( '@stdlib/complex-float32' );
var Complex128 = require( '@stdlib/complex-float64' );
var Complex64 = require( '@stdlib/complex-float32-ctor' );
var Complex128 = require( '@stdlib/complex-float64-ctor' );
var isComplex128 = require( '@stdlib/assert-is-complex128' );

@@ -158,4 +158,4 @@

[test-image]: https://github.com/stdlib-js/assert-is-complex128/actions/workflows/test.yml/badge.svg?branch=v0.2.1
[test-url]: https://github.com/stdlib-js/assert-is-complex128/actions/workflows/test.yml?query=branch:v0.2.1
[test-image]: https://github.com/stdlib-js/assert-is-complex128/actions/workflows/test.yml/badge.svg?branch=v0.2.2
[test-url]: https://github.com/stdlib-js/assert-is-complex128/actions/workflows/test.yml?query=branch:v0.2.2

@@ -192,3 +192,3 @@ [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/assert-is-complex128/main.svg

[@stdlib/complex/float64]: https://www.npmjs.com/package/@stdlib/complex-float64
[@stdlib/complex/float64/ctor]: https://www.npmjs.com/package/@stdlib/complex-float64-ctor

@@ -195,0 +195,0 @@ <!-- <related-links> -->

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc