History of Idiom 110 > diff from v64 to v65
Edit summary for version 65 by Anonymous:
[Scala] Added Option(s).forall as without it a null string will raise a NPE on .trim
[Scala] Added Option(s).forall as without it a null string will raise a NPE on .trim
↷
Version 64
2021-08-15, 23:40:11
Version 65
2021-08-17, 11:21:18
Idiom #110 Check if string is blank
Set boolean blank to true if string s is empty, or null, or contains only whitespace ; false otherwise.
Idiom #110 Check if string is blank
Set boolean blank to true if string s is empty, or null, or contains only whitespace ; false otherwise.
Comments bubble
Comments bubble
Option(s) ensures that null is handled.