On this page
computed
function
Create a computed Signal
which derives a reactive value from an expression.
computed<T>(computation: () => T, options?: CreateComputedOptions<T>): Signal<T>
Parameters
computation |
() => T |
|
options |
CreateComputedOptions<T> |
Optional. Default is |
Returns
Signal<T>
© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/core/computed