0

Say you have a function calls like the following

var1 = 'some var'

logEvent({
 eventParams: {
   var1
 }
})

I want to find logEvent function calls where eventParams have var1 (opposed to var2)

The problem is that the function call is not one-liner as logEvent({eventParams: {var1} })

Currently I'm using helm to find logEvent and save the result. and manually visit all the files to see if the function call indeed uses var1

Is there an efficient way of doing this other than visiting all the files one by one?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.