MCPcopy Create free account
hub / github.com/reactstrap/reactstrap / toArgs

Function toArgs

src/__tests__/utils.spec.js:257–261  ·  view source on GitHub ↗
(array)

Source from the content-addressed store, hash-verified

255
256 it('should return `false` for non-functions', () => {
257 function toArgs(array) {
258 return function () {
259 return arguments;
260 }.apply(undefined, array);
261 }
262
263 expect(Utils.isFunction(toArgs([1, 2, 3]))).toBe(false);
264 expect(Utils.isFunction([1, 2, 3])).toBe(false);

Callers 1

utils.spec.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…