[โœ… Solution] Lodash library alias '_' in calculation fields

Hi!
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?
Thanks!

1 Like

Hi @shir,

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 lodash.toLower('Hi!') currently.

This is a divergence from the documentation :eyes: . We will resolve this asap to make reality reflect the truth from the docs.

Cheers
Tim

EDIT: Fix is live, you can now use it as documented :partying_face:

1 Like