3 ms·
If that documented behavior is part of the API contract, then the entire isValid function seems useless and should probably be removed – if it's intended to che
by ptx 3y ago
If that documented behavior is part of the API contract, then the entire isValid function seems useless and should probably be removed – if it's intended to check emptiness, just use isEmpty which already does that (or rename isValid to isNotEmpty).