Skip to content

Home > sculp-js > arrayRemove

arrayRemove() function

数组删除指定项目

Signature:

typescript
export declare function arrayRemove<V>(array: V[], expect: (val: V, idx: number) => boolean): V[];

Parameters

Parameter

Type

Description

array

V[]

expect

(val: V, idx: number) => boolean

Returns:

V[]

{V[]}

Released under the MIT License.