Documentation for drop_first and drop_last · Issue #55 · lstrojny/functional-php · GitHub
Skip to content

Documentation for drop_first and drop_last #55

Description

@rogerjaffe

The examples show a return value $index === 2 which should be $index <= 2. The records are dropped as long as the callback returns true. Records are kept when the callback returns false.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions