MCPcopy Create free account
hub / github.com/hoothin/UserScripts / objIsArr

Function objIsArr

Pagetual/pagetual.user.js:10662–10667  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

10660 }
10661
10662 function objIsArr(obj) {
10663 return obj &&
10664 typeof obj === 'object' &&
10665 typeof obj.length === 'number' &&
10666 !(obj.propertyIsEnumerable('length'));
10667 }
10668
10669 function isVisible(el, win) {
10670 if(!el || !el.offsetParent)return false;

Callers 1

getFormatJSONFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected