UDP: MultiaddrMatcher = ...

Matches UDP addresses.

Example

import { multiaddr } from '@multiformats/multiaddr'
import { UDP } from '@multiformats/multiaddr-matcher'

UDP.matches(multiaddr('/ip4/123.123.123.123/udp/1234')) // true