maxLengthValidatortsfunction maxLengthValidator(max): (x) => x is string Parameters ParameterTypemaxnumber Returns Function Parameters ParameterTypexunknown Returns x is string