Logo

Programming-Idioms

History of Idiom 110 > diff from v73 to v74

Edit summary for version 74 by s:
[Dart] e

Version 73

2021-11-07, 21:19:12

Version 74

2021-12-14, 09:53:04

Idiom #110 Check if string is blank

Set the boolean blank to true if the string s is empty, or null, or contains only whitespace ; false otherwise.

Idiom #110 Check if string is blank

Set the boolean blank to true if the string s is empty, or null, or contains only whitespace ; false otherwise.

Code
final blank = s == null || s.trim() == '';
Code
IFS( ISBLANK([Time Out]), "000:00:00", (([Time Out] - [Time In]) < "004:00:00"), ([Time Out] - [Time In]), TRUE, ([Time Out] - [Time In] - "001:00:00") )