@metreeca/core - v0.12.0
    Preparing search index...

    Function isURLLike

    • Checks if a value is URLLike.

      Every string qualifies, whether or not it parses as a URL: only the shape of the reference is settled here, while parsing and resolution against a base remain with the consumer.

      Parameters

      • value: unknown

        The value to check

      Returns value is URLLike

      True if the value is a string or a URL instance; false otherwise