TCP: MultiaddrMatcher = ...

Matches TCP addresses.

Example

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

TCP.matches(multiaddr('/ip4/123.123.123.123/tcp/1234')) // true