You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
throw new TypeError( format( 'invalid argument. Second argument must be one of the following: "%s". Value: `%s`.', DTYPES.join( '", "' ), dt ) );
313
+
if ( !isValidDType( dt ) ) {
314
+
throw new TypeError( format( 'invalid argument. Second argument must be one of the following: "%s". Value: `%s`.', join( DTYPES, '", "' ), dt ) );
303
315
}
304
-
} else if ( DTYPES.indexOf( dt ) === -1 ) <spanclass="branch-0 cbranch-no" title="branch not covered" >{</span>
305
-
<spanclass="cstat-no" title="statement not covered" > throw new TypeError( format( 'invalid argument. First argument must be one of the following data types: "%s". Value: `%s`.', DTYPES.join( '", "' ), dt ) );</span>
316
+
} else if ( !isValidDType( dt ) ) <spanclass="branch-0 cbranch-no" title="branch not covered" >{</span>
317
+
<spanclass="cstat-no" title="statement not covered" > throw new TypeError( format( 'invalid argument. First argument must have one of the following data types: "%s". Value: `%s`.', join( DTYPES, '", "' ), dt ) );</span>
306
318
<spanclass="cstat-no" title="statement not covered" > }</span>
0 commit comments