mini-effect
    Preparing search index...

    Function url

    • Creates an URL validation action.

      Hint: The value is passed to the URL constructor to check if it is valid. This check is not perfect. For example, values like "abc:1234" are accepted.

      Type Parameters

      • TInput$1 extends string

      Returns UrlAction<TInput$1, undefined>

      An URL action.

    • Creates an URL validation action.

      Hint: The value is passed to the URL constructor to check if it is valid. This check is not perfect. For example, values like "abc:1234" are accepted.

      Type Parameters

      Parameters

      • message: TMessage

        The error message.

      Returns UrlAction<TInput$1, TMessage>

      An URL action.