StringX2 extension

on

Properties

isBlank bool

Available on String?, provided by the StringX2 extension

no setter
isEmpty bool

Available on String?, provided by the StringX2 extension

no setter
isNotBlank bool

Available on String?, provided by the StringX2 extension

no setter
isNotEmpty bool

Available on String?, provided by the StringX2 extension

Whether this string is not empty.
no setter

Methods

ifBlank(String other) String

Available on String?, provided by the StringX2 extension

ifEmpty(String other) String

Available on String?, provided by the StringX2 extension

orElse(String other) String

Available on String?, provided by the StringX2 extension