@hashgraph/solo
    Preparing search index...
    Index

    Methods

    • TypeScript custom type guard that checks if the provided object implements Persistable.

      Parameters

      • v: object

        The object to check.

      Returns v is Persistable

      true if the object implements Persistable, false otherwise.

    • TypeScript custom type guard that checks if the provided object implements Refreshable.

      Parameters

      • v: object

        The object to check.

      Returns v is Refreshable

      true if the object implements Refreshable, false otherwise.

    • Creates a clone of the firstObject of type T and merges the properties of the secondObject into it. If either object is falsy, then the other object is returned.

      Type Parameters

      • T

      Parameters

      • firstObject: T
      • secondObject: T

      Returns T

      The merged object of type T.