Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "object"

Index

Functions

Const diffObject

  • diffObject<T>(a: IObjectOf<T>, b: IObjectOf<T>, mode?: DiffMode, _equiv?: Predicate2<any>): ObjectDiff<T>
  • Type parameters

    • T

    Parameters

    • a: IObjectOf<T>
    • b: IObjectOf<T>
    • Default value mode: DiffMode = DiffMode.FULL
    • Default value _equiv: Predicate2<any> = equiv

    Returns ObjectDiff<T>

Const diffObjectDist

  • diffObjectDist(a: IObjectOf<any>, b: IObjectOf<any>, _equiv: Predicate2<any>): object
  • Parameters

    • a: IObjectOf<any>
    • b: IObjectOf<any>
    • _equiv: Predicate2<any>

    Returns object

    • distance: number

Const diffObjectFull

  • diffObjectFull(a: IObjectOf<any>, b: IObjectOf<any>, _equiv: Predicate2<any>): object
  • Parameters

    • a: IObjectOf<any>
    • b: IObjectOf<any>
    • _equiv: Predicate2<any>

    Returns object

    • adds: any[]
    • dels: any[]
    • distance: number
    • edits: any[]

Generated using TypeDoc