Contact Free trial Login

Diff Types (dw::util::Diff)

Type Definition Description

Diff

type Diff = { matches: Boolean, diffs: Array<Difference> }

Describes the entire difference between two values.

Difference

type Difference = { expected: String, actual: String, path: String }

Describes a single difference between two values at a given structure.

Was this article helpful?

💙 Thanks for your feedback!

Edit on GitHub