nuke icon indicating copy to clipboard operation
nuke copied to clipboard

Update documentation of NotNullOrWhiteSpace assertion

Open dwzg opened this issue 7 months ago • 0 comments

Just a little addition to the documentation of the NotNullOrWhiteSpace assertion to better reflect its behaviour. The underlying string.IsNullOrWhiteSpace() method also checks if the string is empty (see documentation). I think this avoids confusion when choosing between NotNullOrEmpty and NotNullOrWhiteSpace.

I confirm that the pull-request:

  • [X] Follows the contribution guidelines
  • [X] Is based on my own work
  • [X] Is in compliance with my employer

dwzg avatar Sep 09 '25 18:09 dwzg