HomeDevCentral

Allow to check if a vector or map is empty

Description

Allow to check if a vector or map is empty

Test Plan:
Unit tests provided.

Needed by a Zed site health check:

if ($nonWritableDirs->isEmpty()) {
    // We can write everywhere.
    return true;
}

Reviewers: dereckson

Reviewed By: dereckson

Differential Revision: https://devcentral.nasqueron.org/D2508

Details

Provenance
derecksonAuthored on Feb 10 2022, 01:34
derecksonPushed on Feb 10 2022, 01:38
Reviewer
dereckson
Differential Revision
D2508: Allow to check if a vector or map is empty
Parents
rKOT2982a0e38457: Allow to discover classes in a PSR-4 folder
Branches
Unknown
Tags
Unknown
References
tag: 0.7.1