/** * 是否是可遍历对象 * @category Object */ export const isIterable = (o): o is Iterable => { return o && Symbol.iterator in o; };