[ Web Proxy ]
URL:
Viewing: https://angular.dev/api/core/computed [Back]  [Original]

computed Angular Skip to main content
menu
close
more_horiz
menuAPI
@angular/core

computed

function

Create a computed Signal which derives a reactive value from an expression.

Computed signals

On this page

    arrow_upward_alt Back to the top

    API

    function computed<T>(
      computation: () => T,
      options?: CreateComputedOptions<T> | undefined,
    ): Signal<T>;
    @paramcomputation() => T
    @paramoptionsCreateComputedOptions<T> | undefined
    @returnsSignal<T>
    Jump to details

    Web Proxy Viewer  |  New URL  |  Original Page