• Returns if something is a Multiaddr that is a resolvable name

    Parameters

    Returns boolean

    Example

    import { isName, multiaddr } from '@multiformats/multiaddr'

    isName(multiaddr('/ip4/127.0.0.1'))
    // false
    isName(multiaddr('/dns/ipfs.io'))
    // true