New Project
All checks were successful
BeijingMediaOfficialWebsite-ZhaoJian/BeijingMediaOfficialWebsite-ZhaoJian/pipeline/head This commit looks good
All checks were successful
BeijingMediaOfficialWebsite-ZhaoJian/BeijingMediaOfficialWebsite-ZhaoJian/pipeline/head This commit looks good
This commit is contained in:
5
web/node_modules/is-what/dist/isEmptyArray.js
generated
vendored
Normal file
5
web/node_modules/is-what/dist/isEmptyArray.js
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { isArray } from './isArray.js';
|
||||
/** Returns whether the payload is a an empty array */
|
||||
export function isEmptyArray(payload) {
|
||||
return isArray(payload) && payload.length === 0;
|
||||
}
|
||||
Reference in New Issue
Block a user