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
<spanclass="cstat-no" title="statement not covered" ></span>
1356
1356
<spanclass="cstat-no" title="statement not covered" > if ( isCollection( arg ) ) {</span>
1357
1357
<spanclass="cstat-no" title="statement not covered" > Struct = structFactory( arg ); // NOTE: delegate to `structFactory` to perform input validation</span>
1358
-
<spanclass="cstat-no" title="statement not covered" > } else if ( isStructConstructor( arg ) ) {</span>
1358
+
<spanclass="cstat-no" title="statement not covered" > } else if ( isStructConstructorLike( arg ) ) {</span>
1359
1359
<spanclass="cstat-no" title="statement not covered" > Struct = arg;</span>
1360
1360
<spanclass="cstat-no" title="statement not covered" > } else {</span>
1361
1361
<spanclass="cstat-no" title="statement not covered" > throw new TypeError( format( 'invalid argument. First argument must be either a struct constructor or struct schema. Value: `%s`.', arg ) );</span>
0 commit comments