Function IsUri

  • Checks if string is a valid URI.

    Needed because class-validator's IsUrl doesn't support localhost.

    Parameters

    • Optional options: ValidationOptions

    Returns PropertyDecorator

Generated using TypeDoc