Transversing with function param (ex: .next(function))

Transversing with function param (ex: .next(function))

Hello
I propose this idea:

Code to apply (example):
< div  id = "test" >
   < div > Test </ div >
   Hello World!
   < b > Hello </ b >
   New Test!
</ div >

Application:
$ ( '#test' )
   // Get textNode contents only
   . contents ( function ( ) {
     if ( this . nodeType  ===  3 ) {
       // Add to collection when return true
       return  true ;
     }
   } )
   // For each textNodes, change value
   . each ( function ( ) {
     this . nodeValue  'Changed!' ;
   } ) ;

Results:
< div  id = "test" >
   < div > Test </ div >
   Changed!
   < b > Hello </ b >
   Changed!
</ div >

Bye!