MCPcopy
hub / github.com/didi/mpx / isNotEmptyArray

Function isNotEmptyArray

packages/fetch/src/util.js:24–26  ·  view source on GitHub ↗
(ary)

Source from the content-addressed store, hash-verified

22
23// 不为空数组
24function isNotEmptyArray (ary) {
25 return ary && isArray(ary) && ary.length > 0
26}
27
28function transformReq (config) {
29 // 抹平wx & ali 请求参数

Callers 7

doValidatorFunction · 0.90
ValidatorFunction · 0.90
setProxyMethod · 0.90
setValidatorMethod · 0.90
prependProxyMethod · 0.90
appendProxyMethod · 0.90
doTestFunction · 0.85

Calls 1

isArrayFunction · 0.90

Tested by

no test coverage detected