Visitar URL original
assertNotInReactiveContext • Angular
The Wayback Machine - https://web.archive.org/web/20260420183611/https://angular.dev/api/core/assertNotInReactiveContext
    • Overview
@angular/core

assertNotInReactiveContext

function
stable

Asserts that the current stack frame is not within a reactive context. Useful to disallow certain code from running inside a reactive context (see toSignal)

API

function assertNotInReactiveContext(
  debugFn: Function,
  extraContext?: string | undefined,
): void;
Jump to details