title: Vuex : How to check if an action exists before dispatching it?
body: <p>I am getting this error : "Unknown local action type..." when I'm dispatching my action, which happens to be in other modules. The action which I'm dispatching does not exist in certain cases. So, I need to apply a condition which will check if this action exists and dispatches the action only if the condition is met. How do I do this ?</p>