![]() |
![]()
| ![]() |
![]()
NAMEObject::Array::Plugin::ListMoreUtils DESCRIPTIONAdd methods to Object::Array corresponding to functions from List::MoreUtils. METHODSSee List::MoreUtils for details of these methods (functions). anyallnonenotalltruefalsefirstidxfirst_indexlastidxlast_indexinsert_afterinsert_after_stringapplyafterafter_inclbeforebefore_inclindexesfirstvalfirst_valuelastvallast_valuenatatimeuniqminmaxNEW METHODScontainsif ($arr->contains(1)) { ... } Convenient wrapper around firstidx. Uses "==" to compare references and numbers, "eq" for everything else.
|