JSFiddle - React, Tailwind, and code Playground

JavaScript

(function( $ ) {
    $.myTest = function()
    {
       return true;
    }
})( jQuery );
    
alert($.isFunction('$.myTest'));