ゆるふわエンジニアのブログ

やったこと、調べたこと等をつらつらと書いていくかもしれません。

JavaScriptのlinqで使用できる関数一覧

JavaScriptlinqで使用できる
関数の一覧を作成したので、載せておきます。

本記事の内容です。

使用できる関数一覧

関数名 引数
aggregate seed, func, resultSelector
all predicate
alternate alternateValueOrSequence
any predicate
asEnumerable
average selector
buffer count
cast
catchError handler
choose selector
concat
contains value, compareSelector
count predicate
defaultIfEmpty defaultValue
distinct compareSelector
distinctUntilChanged compareSelector
doAction action
elementAt index
elementAtOrDefault index, defaultValue
except second, compareSelector
finallyAction finallyAction
first predicate
firstOrDefault predicate, defaultValue
flatten
force
forEach action
groupBy keySelector, elementSelector, resultSelector, compareSelector
groupJoin inner, outerKeySelector, innerKeySelector, resultSelector, compareSelector
indexOf item
insert index, second
intersect second, compareSelector
isEmpty
join inner, outerKeySelector, innerKeySelector, resultSelector, compareSelector
last predicate
lastIndexOf item
lastOrDefault predicate, defaultValue
letBind func
log selector
max selector
maxBy keySelector
memoize
merge
min selector
minBy keySelector
ofType type
orderBy keySelector
orderByDescending keySelector
pairwise selector
partitionBy keySelector, elementSelector, resultSelector, compareSelector
reverse
scan seed, func
select selector
selectMany collectionSelector, resultSelector
sequenceEqual second, compareSelector
share
shuffle
single predicate
singleOrDefault predicate, defaultValue
skip count
skipWhile predicate
sum selector
take count
takeExceptLast count
takeFromLast count
takeWhile predicate
toArray
toDictionary keySelector, elementSelector, compareSelector
toJoinedString separator, selector
toJSONString replacer, space
toLookup keySelector, elementSelector, compareSelector
toObject keySelector, elementSelector
trace message, selector
traverseBreadthFirst func, resultSelector
traverseDepthFirst func, resultSelector
union second, compareSelector
weightedSample weightSelector
where predicate
write separator, selector
writeLine selector
zip


JavaScriptで使用可能な関数のリファレンスが欲しいですね。
まぁ、.NETのLINQを移植したものなので、そちらを
確認したらよいのかもしれませんが。