MCPcopy
hub / github.com/axios/axios / isVisitable

Function isVisitable

lib/helpers/toFormData.js:19–21  ·  view source on GitHub ↗

* Determines if the given thing is a array or js object. * * @param {string} thing - The object or array to be visited. * * @returns {boolean}

(thing)

Source from the content-addressed store, hash-verified

17 * @returns {boolean}
18 */
19function isVisitable(thing) {
20 return utils.isPlainObject(thing) || utils.isArray(thing);
21}
22
23/**
24 * It removes the brackets from the end of a string

Callers 1

defaultVisitorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected