Skip to content
  • Watch
    Notifications
  • Fork

    Fork sourcegraph

    If this dialog fails to load, you can visit the fork page directly.

/sourcegraph

Permalink
Tree: eaa0fe5d10
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

3 lines (2 sloc) 138 Bytes
export const isURL = (value: any): value is URL =>
!!value && typeof value.toString === 'function' && value.href === value.toString()
You can’t perform that action at this time.