isNotEmpty function

IValidator isNotEmpty()

Checks whether the given value is not empty

Implementation

IValidator isNotEmpty() => stringLength([isGt(0)]);