@abu-sufian/isemptyarray 中文文档教程
@abu-sufian/isemptyarray
这个函数检查参数是一个数组并且它是空的
Install
$ npm install @abu-sufian/isemptyarray
Usage
var isEmptyArray = require("@abu-sufian/isemptyarray")
isEmptyArray([]);
//=> true
isEmptyArray(["1"]);
//=> false
@abu-sufian/isemptyarray
This function check the paramter is an array and it's empty
Install
$ npm install @abu-sufian/isemptyarray
Usage
var isEmptyArray = require("@abu-sufian/isemptyarray")
isEmptyArray([]);
//=> true
isEmptyArray(["1"]);
//=> false