@stdlib/assert-is-complex-like
Advanced tools
Comparing version 0.2.1 to 0.2.2
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27737
+ Added@stdlib/complex-float32-ctor@0.0.10.0.2(transitive)
+ Added@stdlib/complex-float64-ctor@0.0.2(transitive)
- Removed@stdlib/complex-float32@^0.2.1
- Removed@stdlib/complex-float64@^0.2.1
- Removed@stdlib/complex-float32@0.2.1(transitive)
- Removed@stdlib/complex-float64@0.2.1(transitive)