-
Notifications
You must be signed in to change notification settings - Fork 3
AsEnumerable
Saleh Yusefnejad edited this page Aug 30, 2015
·
3 revisions
Description:
This method converts either an array, or an Object or a string to a generator object that can be used in LINQ queries.
Samples:
let enumerable1 = [1, 2, 3, 4, 5, 6, 7, 8].asEnumerable(); // a number enumerable
let enumerable2 = { id:1, name:'saleh', family:'yusefnejad', age:31 }.asEnumerable(); // a key/value enumerable
let enumerable3 = 'Test'.asEnumerable(); // a char enumerable