跳到主要内容

remove

从指定位置删除数据,并返回删除的数据

声明

mixed remove(array arr, int pos, function predicate = nil)

参数

参数名描述
arr
index
predicate

返回值

使用方式

返回文档