fadeIn works, but toggleIn does not

fadeIn works, but toggleIn does not

they seem identical in usage, but while
  $(".mainbody").fadeIn(2000, 'swing'); does work

when replaced by 

  $(".mainbody").toggleIn(2000, 'swing');

it does not work.


any good reason?