Skip to content

Rename noContent to isEmpty? Or at least alias it? #249

@fracz

Description

@fracz

I have noticed the noContent assertion when I was about to submit a PR with an isEmpty implementation.

Why the asserion is called noContent? It does the opposite from notEmpty and IMO the clearest name for this check is isEmpty.

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