maxLen method

bool maxLen(
  1. int max
)

Check this string max length, if satisfied condition then return true

Implementation

bool maxLen(int max) => length <= max;