_.includes(collection, value, [fromIndex=0]). 检查值是否在集合中,如果集合是字符串,那么检查值是否在字符串中。 其他情况用 SameValueZero 等值比较。
確定! 回上一頁