guregu / null

reasonable handling of nullable values
BSD 2-Clause "Simplified" License
1.86k stars 238 forks source link

Add check for zero or blank #69

Open nilskasseckert opened 2 years ago

nilskasseckert commented 2 years ago

Hi @guregu,

I added a new method which checks if a string is zero or consists only of spaces. This is a helpful check especially for mandatory fields.

Would it be possible to integrate this into the null library? Otherwise I would have to release my own version. I think this could be interesting for others as well.

Regards. Nils