docs: Use of $any() has no runtime incidence. (#48785)

Some users are woried about `$any()` as function calls are to be avoided in templates. This sentence clarifies the situation.

fixes #48781

PR Close #48785
This commit is contained in:
Dylan Hunn
2023-01-24 15:45:35 +01:00
committed by Jessica Janiuk
parent 4da1f2948c
commit c03e6a6097
@@ -59,6 +59,8 @@ The `$any()` cast function also works with `this` to allow access to undeclared
The `$any()` cast function works anywhere in a binding expression where a method call is valid.
Also note that `$any()` only affects the typing. There is no method call in the generated code; the `$any()` function is entirely compiled away.
<!-- links -->
<!-- external links -->