url

Creates a validation functions that validates a URL.

const validate = url(error);

Parameter

  • error string

Return