How can I check to see that a specific easing method is defined? For example, jQuery includes two methods (“linear” and “swing”), jQuery UI has a bunch more and there are also third-party plugins that have even more methods. In my plugin, I let developers specify an easing method but it is up to them to include the proper files which define those methods, so I want to check and display an error if they have specified an easing method which does not exist.
Share
I believe it should be as easy as: