Diff 型 (dw::util::Diff)

定義 説明

Diff (差分)

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

2 つの値の間の違い全体を表します。

Difference (差)

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

指定された構造の 2 つの値の間の 1 つの違いを表します。

Was this article helpful?

💙 Thanks for your feedback!

Edit on GitHub