linq.Except

Gets all the elements from the array except ones that match a specified condition

Overloads

  • Array Except (condition)

Array Except (condition)

Gets all the elements from the array except ones that match a specified condition

Example

var myArray = [1,3,4,4,4,5];
//Returns [1,3,5]
myArray.Except("x => x % 2 == 0");

Last edited Sep 23, 2011 at 5:40 AM by mlorbetske, version 1

Comments

No comments yet.