Skip to main content
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
82%
Published
a month ago (0.1.0)
function noop
noop(): void

A no-operation function that does nothing. This can be used as a placeholder or default function.

Examples

Example 1

noop(); // Does nothing

Return Type

void

This function does not return anything.

Add Package

deno add @debbl/utils

Import symbol

import { noop } from "@debbl/utils";

Add Package

npx jsr add @debbl/utils

Import symbol

import { noop } from "@debbl/utils";

Add Package

yarn dlx jsr add @debbl/utils

Import symbol

import { noop } from "@debbl/utils";

Add Package

pnpm dlx jsr add @debbl/utils

Import symbol

import { noop } from "@debbl/utils";

Add Package

bunx jsr add @debbl/utils

Import symbol

import { noop } from "@debbl/utils";