Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F100818677
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
Mon, Feb 3, 00:51
Size
326 B
Mime Type
text/x-java
Expires
Wed, Feb 5, 00:51 (2 d)
Engine
blob
Format
Raw Data
Handle
24037613
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