Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

std/internal/diff.ts>diff

The Deno Standard Library
Latest
The Standard Library has been moved to JSR. See the blog post for details.
function diff
import { diff } from "https://deno.land/std@0.224.0/internal/diff.ts";

Renders the differences between the actual and expected values

Parameters

A: T[]

Actual value

B: T[]

Expected value