wstring_tools 0.1.5

Tools to manipulate strings.
Documentation
1
2
3
4
5
6
7
8
9
if( typeof module !== 'undefined' )
require( 'wTools' );
let _ = wTools;

var dst = [ { val : 3 }, { val : 0 }, { val : 5 } ];
var result = _.arrayRemoveElement( dst, { val : 0 }, ( e ) => e.val );
console.log( result );
/* log : [ { val : 3 }, { val : 5 } ] */