Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ICombinable<T>

Combinable Interface

Represents an object that can be combined/merged together with another object of the same type. The new merged object should contain no shared references to neither the current nor the incoming object.

Type parameters

  • T

Hierarchy

  • ICombinable

Implemented by

Index

Methods

Methods

combine

  • combine(other: T): T
  • Combine with another object

    Combine/merge the data in this object with an incoming object. The new merged object should contain no shared references.

    Parameters

    • other: T

      The other object to merge with this object

    Returns T

    An object that contains merged data

Generated using TypeDoc