Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
import type { Tester } from "./_types.ts";
const customEqualityTesters: Tester[] = [];
export function addCustomEqualityTesters(newTesters: Tester[]) { if (!Array.isArray(newTesters)) { throw new TypeError( `customEqualityTester expects an array of Testers. But got ${typeof newTesters}`, ); }
export function getCustomEqualityTesters() { return customEqualityTesters;}