Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@stdlib/assert-is-complex-like

Package Overview
Dependencies
Maintainers
4
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stdlib/assert-is-complex-like - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

2

dist/index.js
"use strict";var n=function(e,r){return function(){return r||e((r={exports:{}}).exports,r),r.exports}};var i=n(function(u,t){
var o=require('@stdlib/complex-float64/dist'),s=require('@stdlib/complex-float32/dist');function p(e){return e instanceof o||e instanceof s?!0:typeof e=="object"&&e!==null&&typeof e.re=="number"&&typeof e.im=="number"}t.exports=p
var o=require('@stdlib/complex-float64-ctor/dist'),s=require('@stdlib/complex-float32-ctor/dist');function p(e){return e instanceof o||e instanceof s?!0:typeof e=="object"&&e!==null&&typeof e.re=="number"&&typeof e.im=="number"}t.exports=p
});var f=i();module.exports=f;
/** @license Apache-2.0 */
//# sourceMappingURL=index.js.map

@@ -32,4 +32,4 @@ /*

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

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

@@ -27,4 +27,4 @@ /**

* @example
* var Complex128 = require( '@stdlib/complex-float64' );
* var Complex64 = require( '@stdlib/complex-float32' );
* var Complex128 = require( '@stdlib/complex-float64-ctor' );
* var Complex64 = require( '@stdlib/complex-float32-ctor' );
* var isComplexLike = require( '@stdlib/assert-is-complex-like' );

@@ -31,0 +31,0 @@ *

@@ -23,4 +23,4 @@ /**

var Complex128 = require( '@stdlib/complex-float64' );
var Complex64 = require( '@stdlib/complex-float32' );
var Complex128 = require( '@stdlib/complex-float64-ctor' );
var Complex64 = require( '@stdlib/complex-float32-ctor' );

@@ -37,4 +37,4 @@

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

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

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

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

"dependencies": {
"@stdlib/complex-float32": "^0.2.1",
"@stdlib/complex-float64": "^0.2.1"
"@stdlib/complex-float32-ctor": "^0.0.2",
"@stdlib/complex-float64-ctor": "^0.0.2"
},

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

@@ -61,4 +61,4 @@ <!--

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

@@ -107,4 +107,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 isComplexLike = require( '@stdlib/assert-is-complex-like' );

@@ -187,4 +187,4 @@

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

@@ -191,0 +191,0 @@ [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/assert-is-complex-like/main.svg

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