Checks if string is a valid URI.
Needed because class-validator's IsUrl doesn't support localhost.
class-validator
IsUrl
localhost
Optional
Generated using TypeDoc
Checks if string is a valid URI.
Needed because
class-validator
'sIsUrl
doesn't supportlocalhost
.