天天看點

前端項目實戰105-isCompoundKey查詢

["id"] 76  search_manufacture_size

const isCompoundKey = (primaryKey: PrimaryKey): Boolean => {
    return primaryKey.length > 1;
}      

判斷數組長度是否大于1