cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing one expression library functions from another expression lib

ayush_vipul
New Contributor III

Hi

I have a use case where I am looking forward to access methods of one library(expression file) from another library (expression file 2).

Is their a way to achieve this?

1 ACCEPTED SOLUTION

ayush_vipul
New Contributor III

Thanks @tstack

This helped me a lot.
😀

View solution in original post

17 REPLIES 17

ayush_vipul
New Contributor III

thanks @tstack .This was the exact use case.

Also do we have a total number of libraries we can add to a pipeline ?
Do we have a standerd IDE to write expressions ?
or if you can suggest any extension for VS code.

I don’t think so.

The expression language is mostly a subset of JavaScript, so I would just use an editor with support for that. The main difference is that expression language is just expressions, not statements. Don’t try to use things like if or function(), you need to stick to arrow functions (e.g. (x, y) => x + y). One addition to the e-lang that is not in JavaScript is the match operator. You might find that useful if you have to do a lot of conditionals.

ayush_vipul
New Contributor III

Thanks @tstack

This helped me a lot.
😀