stdlib-js / random-base-arcsine
Showing 1 of 1 files from the diff.

@@ -43,10 +43,10 @@
Loading
43 43
*/
44 44
function validate( a, b ) {
45 45
	if ( !isNumber( a ) || isnan( a ) ) {
46 -
		return new TypeError( format( 'invalid argument. First argument must be a number primitive and not `NaN`. Value: `%s`.', a ) );
46 +
		return new TypeError( format( 'invalid argument. First argument must be a number and not `NaN`. Value: `%s`.', a ) );
47 47
	}
48 48
	if ( !isNumber( b ) || isnan( b ) ) {
49 -
		return new TypeError( format( 'invalid argument. Second argument must be a number primitive and not `NaN`. Value: `%s`.', b ) );
49 +
		return new TypeError( format( 'invalid argument. Second argument must be a number and not `NaN`. Value: `%s`.', b ) );
50 50
	}
51 51
	if ( a >= b ) {
52 52
		return new RangeError( format( 'invalid argument. Minimum support `a` must be less than maximum support `b`. Value: `[%f,%f]`.', a, b ) );
Files Coverage
lib 100.00%
Project Totals (5 files) 100.00%
2043518940
unittests
2025297150
unittests
2139179522
unittests
2080718004
unittests
2175303803
unittests

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading