You can use intersection function and check if it returns any items: let condition : boolean = _.intersection(array1, array2).length > 0;.
確定! 回上一頁