• Preparing search index...
  • The search index is not available
libp2p
  • libp2p
  • @libp2p/interface
  • isPublicKey

Function isPublicKey

  • isPublicKey(key?): key is PublicKey
  • Returns true if the passed argument has type overlap with the PublicKey interface. Can be used to disambiguate object types.

    Parameters

    • Optional key: any

    Returns key is PublicKey

    • Defined in packages/interface/src/keys.ts:192

Settings

Member Visibility

Theme

libp2p
  • Loading...

Generated using TypeDoc