Is it possible to check if a prop Function is async or not?
For example, here is a prop in my component:
callbackFunction: {
type: Function,
default: null,
},
How can I validate this and make sure that the passed in Function is declared as async?