Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/log/warn.ts>warn

The Deno Standard Library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function warn
import { warn } from "https://deno.land/std@0.222.1/log/warn.ts";

Log with warning level, using default logger.

Parameters

msg: () => T
...args: unknown[]

Returns

T | undefined

Parameters

msg: T extends GenericFunction ? never : T
...args: unknown[]