Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F121633955
maybeArrayLike.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Jul 12, 16:27
Size
326 B
Mime Type
text/x-java
Expires
Mon, Jul 14, 16:27 (2 d)
Engine
blob
Format
Raw Data
Handle
27363521
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
maybeArrayLike.js
View Options
import
arrayLikeToArray
from
"@babel/runtime/helpers/esm/arrayLikeToArray"
;
export
default
function
_maybeArrayLike
(
next
,
arr
,
i
)
{
if
(
arr
&&
!
Array
.
isArray
(
arr
)
&&
typeof
arr
.
length
===
"number"
)
{
var
len
=
arr
.
length
;
return
arrayLikeToArray
(
arr
,
i
!==
void
0
&&
i
<
len
?
i
:
len
);
}
return
next
(
arr
,
i
);
}
Event Timeline
Log In to Comment