Is this a docs issue?
Type of issue
Information is incorrect
Description
Variables in functions
You can make references to variables and standard library functions inside your functions.
You can't reference user-defined functions from other functions.
This last line appears to be misleading? You absolute can use user-defined functions within other functions. Perhaps this was not the case in an earlier release of Docker Bake?
Location
https://docs.docker.com/build/bake/funcs/#variables-in-functions
Suggestion
Remove the misleading line.