UNPKG

logitar-validation

Version:

JavaScript validation library distributed by Logitar.

10 lines (9 loc) 306 B
import type { ValidationRule } from "../types"; /** * A validation rule that checks if a string is a valid URL. * @param value The value to validate. * @param args The allowed protocols. * @returns The result of the validation rule execution. */ declare const url: ValidationRule; export default url;