decord/source/603_isArrayLike.js

21 lines
391 B
JavaScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 603
// Function ID: 604
// Name: isArrayLike
// Dependencies: [604, 605]
// Module 603 (isArrayLike)
2026-08-24 06:08:38 +00:00
import isLength from "isLength" /* 604 */;
import isFunction from "isFunction" /* 605 */;
2026-07-29 08:29:29 +00:00
export default function isArrayLike(arg0) {
let tmp = null != arg0;
if (tmp) {
2026-08-24 06:08:38 +00:00
tmp = isLength(arg0.length);
2026-07-29 08:29:29 +00:00
}
if (tmp) {
2026-08-24 06:08:38 +00:00
tmp = !isFunction(arg0);
2026-07-29 08:29:29 +00:00
}
return tmp;
};