Open danielbayley opened 3 months ago
import {isURL} from 'is'; isURL ( 'https://github.com/fabiospampinato/is' ); // => true isURL ( new URL ( 'https://github.com/fabiospampinato/is' ) ); // => true isURL ( 'invalid' ); // => false
import {isURLObject} from 'is'; isURLObject ( new URL ( 'https://github.com/fabiospampinato/is' ) ); // => true isURLObject ( 'https://github.com/fabiospampinato/is' ); // => false