I see on the libraries page Available Libraries | Tape Developers That the Lodash library should be available in calculation fields. however when I try to use a function (for example
_.toLower('Hi!')) I am getting ‘_ is not defined’.
Is this a bug?
well spotted. Seems like for calculation fields,
lodash is currently only available via the global variable
lodash, not as
_. So your example would only work as
This is a divergence from the documentation . We will resolve this asap to make reality reflect the truth from the docs.
EDIT: Fix is live, you can now use it as documented