Skip to main content
Console.warn - console - Node documentation
method Console.warn

Usage in Deno

import { type Console } from "node:console";
Console.warn(
message?: any,
...optionalParams: any[],
): void

The console.warn() function is an alias for error.

Parameters

optional
message: any
...optionalParams: any[]

Return Type

void