libp2p
    Preparing search index...

    Function isPublicKey

    • Returns true if the passed argument has type overlap with the PublicKey interface. Can be used to disambiguate object types.

      Parameters

      • Optionalkey: any

      Returns key is PublicKey