Horje
check-if-a-javascript-string-is-a-url Code Example
check-if-a-javascript-string-is-a-url
  const isUrl = string => {
      try { return Boolean(new URL(string)); }
      catch(e){ return false; }
  }




Javascript

Related
react content loader Code Example react content loader Code Example
sentry ignore errors Code Example sentry ignore errors Code Example
sentry erros Code Example sentry erros Code Example
how to remove sub array null index in javascript Code Example how to remove sub array null index in javascript Code Example
convert celsius to fahrenheit javascript Code Example convert celsius to fahrenheit javascript Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7