• Checks if the string's length is not more than given number. Note: this function takes into account surrogate pairs. If given value is not a string, then it returns false.

    Parameters

    • max: number
    • Optional validationOptions: ValidationOptions

    Returns PropertyDecorator