Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/axios/axios
/ define
Function
define
lib/utils.js:794–798 ·
view source on GitHub ↗
(arr)
Source
from the content-addressed store, hash-verified
792
const
obj = {};
793
794
const
define = (arr) => {
795
arr.forEach((value) => {
796
obj[value] = true;
797
});
798
};
799
800
isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));
801
Callers
1
toObjectSet
Function · 0.85
Calls
1
forEach
Method · 0.80
Tested by
no test coverage detected