Jquery : $ is not a function Jquery WordPress

Code for $ is not a function Jquery WordPress-

jQuery(document).ready(function($){
  //you can now use $ as your jQuery object here
});