• Check if object is a Multiaddr instance

    Parameters

    • value: any

    Returns value is Multiaddr

    Example

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

    isMultiaddr(5)
    // false
    isMultiaddr(multiaddr('/ip4/127.0.0.1'))
    // true