前端项目实战105-isCompoundKey查询

["id"] 76  search_manufacture_size

const isCompoundKey = (primaryKey: PrimaryKey): Boolean => {

    return primaryKey.length > 1;

}

判断数组长度是否大于1

返回值Boolean false

posted @ 2022-10-22 17:02  前端导师歌谣  阅读(19)  评论(0)    收藏  举报