$collection->not($args)

Returns a new collection without the given element(s)

  • $args (args)
    any number of keys, passed as individual arguments
  • return ($collection)