daml icon indicating copy to clipboard operation
daml copied to clipboard

Add DA.Text.isNotEmpty function

Open wallacekelly-da opened this issue 1 year ago • 0 comments

A Text.isNotEmpty function is needed frequently enough to warrant being added to the standard library.

Some might say that a Text.isNotEmpty function is not necessary. It is true that Daml developers today can add their own definition of isNotEmpty whenever necessary. However, the same could be said of a Text.isEmpty function. We have a Text.isEmpty function in the standard library because a Text.isEmpty function is needed frequently enough to warrant being added. The same is true for Text.isNotEmpty.

This was discussed in the Daml forums.

wallacekelly-da avatar Oct 10 '24 18:10 wallacekelly-da