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

Function isPrivateKey

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

    Parameters

    • Optional key: any

    Returns key is PrivateKey

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

Settings

Member Visibility

Theme

libp2p
  • Loading...

Generated using TypeDoc