Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/aax/dev_deps.ts>anyOf

Universal AAX API client
Latest
function anyOf
import { anyOf } from "https://deno.land/x/aax@v1.0.0-beta.1/dev_deps.ts";

matches any of expected value

import {
  anyOf,
  expect,
  test,
} from "https://deno.land/x/unitest@$VERSION/mod.ts";

test("should be any of 1, 2, 3", () => {
  expect(3).toEqual(anyOf([1, 2, 3]));
});

Parameters

expected: readonly unknown[]

Returns

AnyOf