@stdlib/assert-is-probability
Advanced tools
Comparing version
@@ -51,3 +51,3 @@ /* | ||
*/ | ||
( value: any ): value is number | Number; | ||
( value: any ): boolean; | ||
@@ -68,3 +68,3 @@ /** | ||
*/ | ||
isPrimitive( value: any ): value is number; | ||
isPrimitive( value: any ): boolean; | ||
@@ -85,3 +85,3 @@ /** | ||
*/ | ||
isObject( value: any ): value is Number; | ||
isObject( value: any ): boolean; | ||
} | ||
@@ -88,0 +88,0 @@ |
{ | ||
"name": "@stdlib/assert-is-probability", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Test if a value is a probability.", | ||
@@ -34,3 +34,3 @@ "license": "Apache-2.0", | ||
"@stdlib/assert-is-number": "^0.2.1", | ||
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.1" | ||
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.2" | ||
}, | ||
@@ -37,0 +37,0 @@ "devDependencies": {}, |
@@ -225,4 +225,4 @@ <!-- | ||
[test-image]: https://github.com/stdlib-js/assert-is-probability/actions/workflows/test.yml/badge.svg?branch=v0.2.1 | ||
[test-url]: https://github.com/stdlib-js/assert-is-probability/actions/workflows/test.yml?query=branch:v0.2.1 | ||
[test-image]: https://github.com/stdlib-js/assert-is-probability/actions/workflows/test.yml/badge.svg?branch=v0.2.2 | ||
[test-url]: https://github.com/stdlib-js/assert-is-probability/actions/workflows/test.yml?query=branch:v0.2.2 | ||
@@ -229,0 +229,0 @@ [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/assert-is-probability/main.svg |
36291
-0.09%