diff --git a/lib/node_modules/@stdlib/assert/is-pascalcase/docs/types/index.d.ts b/lib/node_modules/@stdlib/assert/is-pascalcase/docs/types/index.d.ts index 8353d75a253..07044e0142d 100644 --- a/lib/node_modules/@stdlib/assert/is-pascalcase/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/assert/is-pascalcase/docs/types/index.d.ts @@ -40,7 +40,7 @@ * var bool = isPascalcase( null ); * // returns false */ -declare function isPascalcase( value: any ): boolean; +declare function isPascalcase( value: any ): value is string; // EXPORTS // diff --git a/lib/node_modules/@stdlib/assert/is-plain-object-array/docs/types/index.d.ts b/lib/node_modules/@stdlib/assert/is-plain-object-array/docs/types/index.d.ts index 09db98594c4..eaa21c27142 100644 --- a/lib/node_modules/@stdlib/assert/is-plain-object-array/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/assert/is-plain-object-array/docs/types/index.d.ts @@ -34,7 +34,7 @@ * bool = isPlainObjectArray( [ {}, '3.0' ] ); * // returns false */ -declare function isPlainObjectArray( value: any ): boolean; +declare function isPlainObjectArray( value: any ): value is ArrayLike; // EXPORTS // diff --git a/lib/node_modules/@stdlib/assert/is-plain-object/docs/types/index.d.ts b/lib/node_modules/@stdlib/assert/is-plain-object/docs/types/index.d.ts index 09329037bb7..5a2638db0fc 100644 --- a/lib/node_modules/@stdlib/assert/is-plain-object/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/assert/is-plain-object/docs/types/index.d.ts @@ -32,7 +32,7 @@ * var bool = isPlainObject( null ); * // returns false */ -declare function isPlainObject( value: any ): boolean; +declare function isPlainObject( value: any ): value is object; // EXPORTS // diff --git a/lib/node_modules/@stdlib/assert/is-positive-integer-array/docs/types/index.d.ts b/lib/node_modules/@stdlib/assert/is-positive-integer-array/docs/types/index.d.ts index 5dcd918369d..92e02324bf0 100644 --- a/lib/node_modules/@stdlib/assert/is-positive-integer-array/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/assert/is-positive-integer-array/docs/types/index.d.ts @@ -36,7 +36,7 @@ interface IsPositiveIntegerArray { * var bool = isPositiveIntegerArray( [ 3.0, '3.0' ] ); * // returns false */ - ( value: any ): boolean; + ( value: any ): value is ArrayLike; /** * Tests if a value is an array-like object containing only positive primitive integer values. @@ -52,7 +52,7 @@ interface IsPositiveIntegerArray { * var bool = isPositiveIntegerArray.primitives( [ 3.0, new Number(1.0) ] ); * // returns false */ - primitives( value: any ): boolean; + primitives( value: any ): value is ArrayLike; /** * Tests if a value is an array-like object containing only number objects having positive integer values. @@ -68,7 +68,7 @@ interface IsPositiveIntegerArray { * var bool = isPositiveIntegerArray.objects( [ 1.0, 2.0, 10.0 ] ); * // returns false */ - objects( value: any ): boolean; + objects( value: any ): value is ArrayLike; } /** diff --git a/lib/node_modules/@stdlib/assert/is-positive-integer/docs/types/index.d.ts b/lib/node_modules/@stdlib/assert/is-positive-integer/docs/types/index.d.ts index 9d9e747d501..10aa52961f9 100644 --- a/lib/node_modules/@stdlib/assert/is-positive-integer/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/assert/is-positive-integer/docs/types/index.d.ts @@ -52,7 +52,7 @@ interface IsPositiveInteger { * var bool = isPositiveInteger( null ); * // returns false */ - ( value: any ): boolean; + ( value: any ): value is number | Number; /** * Tests if a value is a number primitive having a positive integer value. @@ -68,7 +68,7 @@ interface IsPositiveInteger { * var bool = isPositiveInteger.isPrimitive( new Number( 3.0 ) ); * // returns false */ - isPrimitive( value: any ): boolean; + isPrimitive( value: any ): value is number; /** * Tests if a value is a number object having a positive integer value. @@ -84,7 +84,7 @@ interface IsPositiveInteger { * var bool = isPositiveInteger.isObject( new Number( 3.0 ) ); * // returns true */ - isObject( value: any ): boolean; + isObject( value: any ): value is Number; } /** diff --git a/lib/node_modules/@stdlib/assert/is-positive-number-array/docs/types/index.d.ts b/lib/node_modules/@stdlib/assert/is-positive-number-array/docs/types/index.d.ts index f31dcea0160..848863856bb 100644 --- a/lib/node_modules/@stdlib/assert/is-positive-number-array/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/assert/is-positive-number-array/docs/types/index.d.ts @@ -36,7 +36,7 @@ interface IsPositiveNumberArray { * var bool = isPositiveNumberArray( [ 3.0, '3.0' ] ); * // returns false */ - ( value: any ): boolean; + ( value: any ): value is ArrayLike; /** * Tests if a value is an array-like object containing only positive primitive number values. @@ -52,7 +52,7 @@ interface IsPositiveNumberArray { * var bool = isPositiveNumberArray.primitives( [ 3.0, new Number(1.0) ] ); * // returns false */ - primitives( value: any ): boolean; + primitives( value: any ): value is ArrayLike; /** * Tests if a value is an array-like object containing only number objects having positive number values. @@ -68,7 +68,7 @@ interface IsPositiveNumberArray { * var bool = isPositiveNumberArray.objects( [ 1.0, 2.7, 10.0 ] ); * // returns false */ - objects( value: any ): boolean; + objects( value: any ): value is ArrayLike; } /** diff --git a/lib/node_modules/@stdlib/assert/is-positive-number/docs/types/index.d.ts b/lib/node_modules/@stdlib/assert/is-positive-number/docs/types/index.d.ts index 6ab7ac213ed..ef8383bb7fe 100644 --- a/lib/node_modules/@stdlib/assert/is-positive-number/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/assert/is-positive-number/docs/types/index.d.ts @@ -48,7 +48,7 @@ interface IsPositiveNumber { * var bool = isPositiveNumber( null ); * // returns false */ - ( value: any ): boolean; + ( value: any ): value is number | Number; /** * Tests if a value is a number primitive having a positive value. @@ -64,7 +64,7 @@ interface IsPositiveNumber { * var bool = isPositiveNumber.isPrimitive( new Number( 3.0 ) ); * // returns false */ - isPrimitive( value: any ): boolean; + isPrimitive( value: any ): value is number; /** * Tests if a value is a number object having a positive value. @@ -80,7 +80,7 @@ interface IsPositiveNumber { * var bool = isPositiveNumber.isObject( new Number( 3.0 ) ); * // returns true */ - isObject( value: any ): boolean; + isObject( value: any ): value is Number; } /** diff --git a/lib/node_modules/@stdlib/assert/is-positive-zero/docs/types/index.d.ts b/lib/node_modules/@stdlib/assert/is-positive-zero/docs/types/index.d.ts index c6ff827d364..8047f22be67 100644 --- a/lib/node_modules/@stdlib/assert/is-positive-zero/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/assert/is-positive-zero/docs/types/index.d.ts @@ -52,7 +52,7 @@ interface IsPositiveZero { * var bool = isPositiveZero( null ); * // returns false */ - ( value: any ): boolean; + ( value: any ): value is number | Number; /** * Tests if a value is a number primitive equal to positive zero. @@ -68,7 +68,7 @@ interface IsPositiveZero { * var bool = isPositiveZero.isPrimitive( new Number( 0.0 ) ); * // returns false */ - isPrimitive( value: any ): boolean; + isPrimitive( value: any ): value is number; /** * Tests if a value is a number object having a value equal to positive zero. @@ -84,7 +84,7 @@ interface IsPositiveZero { * var bool = isPositiveZero.isObject( new Number( 0.0 ) ); * // returns true */ - isObject( value: any ): boolean; + isObject( value: any ): value is Number; } /** diff --git a/lib/node_modules/@stdlib/assert/is-prime/docs/types/index.d.ts b/lib/node_modules/@stdlib/assert/is-prime/docs/types/index.d.ts index 39756051caf..cff3a7b4bdf 100644 --- a/lib/node_modules/@stdlib/assert/is-prime/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/assert/is-prime/docs/types/index.d.ts @@ -48,7 +48,7 @@ interface IsPrime { * var bool = isPrime( null ); * // returns false */ - ( value: any ): boolean; + ( value: any ): value is number | Number; /** * Tests if a value is a number primitive having a value which is a prime number. @@ -64,7 +64,7 @@ interface IsPrime { * var bool = isPrime.isPrimitive( new Number( 5.0 ) ); * // returns false */ - isPrimitive( value: any ): boolean; + isPrimitive( value: any ): value is number; /** * Tests if a value is a number object having a value which is a prime number. @@ -80,7 +80,7 @@ interface IsPrime { * var bool = isPrime.isObject( new Number( 5.0 ) ); * // returns true */ - isObject( value: any ): boolean; + isObject( value: any ): value is Number; } /** diff --git a/lib/node_modules/@stdlib/assert/is-primitive-array/docs/types/index.d.ts b/lib/node_modules/@stdlib/assert/is-primitive-array/docs/types/index.d.ts index 9b363939271..54772b4432b 100644 --- a/lib/node_modules/@stdlib/assert/is-primitive-array/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/assert/is-primitive-array/docs/types/index.d.ts @@ -34,7 +34,7 @@ * bool = isPrimitiveArray( [ new String('abc'), '3.0' ] ); * // returns false */ -declare function isPrimitiveArray( value: any ): boolean; +declare function isPrimitiveArray( value: any ): value is Array; // EXPORTS // diff --git a/lib/node_modules/@stdlib/assert/is-primitive/docs/types/index.d.ts b/lib/node_modules/@stdlib/assert/is-primitive/docs/types/index.d.ts index f07cc973387..b9fbf1f5b88 100644 --- a/lib/node_modules/@stdlib/assert/is-primitive/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/assert/is-primitive/docs/types/index.d.ts @@ -32,7 +32,7 @@ * var bool = isPrimitive( {} ); * // returns false */ -declare function isPrimitive( value: any ): boolean; +declare function isPrimitive( value: any ): value is null | undefined | string | boolean | number | symbol; // EXPORTS // diff --git a/lib/node_modules/@stdlib/assert/is-probability-array/docs/types/index.d.ts b/lib/node_modules/@stdlib/assert/is-probability-array/docs/types/index.d.ts index 1124b65d3e0..c44348b8b81 100644 --- a/lib/node_modules/@stdlib/assert/is-probability-array/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/assert/is-probability-array/docs/types/index.d.ts @@ -36,7 +36,7 @@ interface IsProbabilityArray { * var bool = isProbabilityArray( [ 0.3, '0.3' ] ); * // returns false */ - ( value: any ): boolean; + ( value: any ): value is ArrayLike; /** * Tests if a value is an array-like object containing only primitive probabilities. @@ -52,7 +52,7 @@ interface IsProbabilityArray { * var bool = isProbabilityArray.primitives( [ 0.3, new Number(0.1) ] ); * // returns false */ - primitives( value: any ): boolean; + primitives( value: any ): value is ArrayLike; /** * Tests if a value is an array-like object containing only number objects having probability values. @@ -68,7 +68,7 @@ interface IsProbabilityArray { * var bool = isProbabilityArray.objects( [ 0.1, 0.2, 0.3 ] ); * // returns false */ - objects( value: any ): boolean; + objects( value: any ): value is ArrayLike; } /** diff --git a/lib/node_modules/@stdlib/assert/is-probability/docs/types/index.d.ts b/lib/node_modules/@stdlib/assert/is-probability/docs/types/index.d.ts index 254410c9b65..d83a18d18e7 100644 --- a/lib/node_modules/@stdlib/assert/is-probability/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/assert/is-probability/docs/types/index.d.ts @@ -48,7 +48,7 @@ interface IsProbability { * var bool = isProbability( null ); * // returns false */ - ( value: any ): boolean; + ( value: any ): value is number | Number; /** * Tests if a value is a number primitive having a value which is a probability. @@ -64,7 +64,7 @@ interface IsProbability { * var bool = isProbability.isPrimitive( new Number( 0.66 ) ); * // returns false */ - isPrimitive( value: any ): boolean; + isPrimitive( value: any ): value is number; /** * Tests if a value is a number object having a value which is a probability. @@ -80,7 +80,7 @@ interface IsProbability { * var bool = isProbability.isObject( new Number( 0.5 ) ); * // returns true */ - isObject( value: any ): boolean; + isObject( value: any ): value is Number; } /** diff --git a/lib/node_modules/@stdlib/assert/is-property-key/docs/types/index.d.ts b/lib/node_modules/@stdlib/assert/is-property-key/docs/types/index.d.ts index 9f4878a2f40..78161b808cf 100644 --- a/lib/node_modules/@stdlib/assert/is-property-key/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/assert/is-property-key/docs/types/index.d.ts @@ -46,7 +46,7 @@ * var bool = isPropertyKey( [] ); * // returns false */ -declare function isPropertyKey( value: any ): boolean; +declare function isPropertyKey( value: any ): value is PropertyKey; // EXPORTS //