UNPKG

type-tls

Version:

type-tls 封装了与类型相关的工具,比如:获取数据的类型 或 类型名字、判断数据的类型 等

54 lines (26 loc) 651 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [type-tls](./type-tls.md) &gt; [isIterable](./type-tls.isiterable.md) ## isIterable() function 判断 目标 是否是可迭代的对象,即 实现了 可迭代协议 **Signature:** ```typescript export declare function isIterable(target: any): boolean; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> target </td><td> any </td><td> 目标 </td></tr> </tbody></table> **Returns:** boolean