Skip to content

Array#overlap?(array) #69

@fcheung

Description

@fcheung

Semantically equivalent to (array1 & array2).any? but doesn't create an intermediate array & can return as soon as one element in common is found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions