Datatables remove this !!~ it doesnt return

Regarding in this sample

I dont understand whats the use of this !!~

This is the script in fiddle

$.fn.dataTable.ext.search.push(
   function(settings, data, dataIndex) {
      var tdValues=[];
      var $tds=table.row(dataIndex).nodes().to$().find('td');
      $tds.each(function(){
         var $this=$(this);
         var hasSelect=$this.find('select').length >0; // check if current cell has a select box
         var curTdValue= hasSelect ? $this.find('option:selected').text() : $this.text();
         tdValues.push(curTdValue);
      });
      var rowValues=tdValues.join(' ');
      return !!~rowValues.toLowerCase().indexOf(table.search().toLowerCase()); //<---this area
   }     
);

If I remove the !!~ It doesnt return. I cant see it in the manual of datatables about this also this $.fn.dataTable.ext.search.push I cant also see this in their manual.

EDITED

This answered the tilde or ~ but how about this? $.fn.dataTable.ext.search.push

链接地址: http://www.djcxy.com/p/74976.html

上一篇: 我们如何使用Javascript和asp验证控件一起使用

下一篇: Datatables删除这个!!〜它不返回