UNPKG

com-tools

Version:

com-tools 提供了一些通用的工具函数;

68 lines (32 loc) 800 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [com-tools](./com-tools.md) &gt; [array\_deleteIndexs](./com-tools.array_deleteindexs.md) ## array\_deleteIndexs() function deleteIndexs(...indexs) 删除数组中指定的元素 **Signature:** ```typescript export declare function array_deleteIndexs<T>(array: T[], ...indexs: number[]): T[]; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> array </td><td> T\[\] </td><td> </td></tr> <tr><td> indexs </td><td> number\[\] </td><td> </td></tr> </tbody></table> **Returns:** T\[\] Array<Item> 被删除的元素的数组