MCPcopy Create free account
hub / github.com/OpenIntroStat/ims / asArray

Function asArray

libs/htmlwidgets-1.5.3/htmlwidgets.js:28–34  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

26 }
27
28 function asArray(value) {
29 if (value === null)
30 return [];
31 if ($.isArray(value))
32 return value;
33 return [value];
34 }
35
36 // Implement jQuery's extend
37 function extend(target /*, ... */) {

Callers 1

htmlwidgets.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected