Skip to main content

@std/assert@1.0.11
Built and signed on GitHub Actions

Common assertion functions, especially useful for testing

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
2 weeks ago (1.0.11)
type alias ArrayLikeArg

An array-like object (Array, Uint8Array, NodeList, etc.) that is not a string

Type Parameters

Definition

ArrayLike<T> & object

Add Package

deno add jsr:@std/assert

Import symbol

import { type ArrayLikeArg } from "@std/assert/array-includes";

---- OR ----

Import directly with a jsr specifier

import { type ArrayLikeArg } from "jsr:@std/assert/array-includes";

Add Package

npx jsr add @std/assert

Import symbol

import { type ArrayLikeArg } from "@std/assert/array-includes";

Add Package

yarn dlx jsr add @std/assert

Import symbol

import { type ArrayLikeArg } from "@std/assert/array-includes";

Add Package

pnpm dlx jsr add @std/assert

Import symbol

import { type ArrayLikeArg } from "@std/assert/array-includes";

Add Package

bunx jsr add @std/assert

Import symbol

import { type ArrayLikeArg } from "@std/assert/array-includes";