Skip to content

devWarn

devWarn(message): void

Defined in: internal/dev.ts:27

Internal

Emit a console.warn only in dev mode, prefixed with a stable tag. Call sites should use this rather than reaching for console.warn directly so the warning never fires in a production build. The message string itself can remain in the bundle.

string

void

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/core.md.