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

x/aax/dev_deps.ts>anyString

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

matches any string or String

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

test("should be any string", () => {
  expect("hello").toEqual(anyString());
});

Parameters

optional
condition: (value: string) => boolean

Returns

AnyString