Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Yonaba/Moses.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira Tsai <blackwindforce@users.noreply.github.com>2018-07-26 18:15:25 +0300
committerGitHub <noreply@github.com>2018-07-26 18:15:25 +0300
commit3a6f52b6c4d7674c44072c9b74956feac4046385 (patch)
treebbe8cf50500f165adc744e295490a0d2c4c68d4c
parentded0a9b773bb78ded2c1dd5da721bbee4a3e32c6 (diff)
docs(moses): fix typo
-rw-r--r--moses.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses.lua b/moses.lua
index f3d484a..5d6c615 100644
--- a/moses.lua
+++ b/moses.lua
@@ -505,7 +505,7 @@ end
-- @name sortBy
-- @param t a table
-- @param[opt] transform a `transform` function to sort elements prototyped as `transform (v)`. Defaults to @{identity}
--- @param[optchain] comp a comparision function, defaults to the `<` operator
+-- @param[optchain] comp a comparison function, defaults to the `<` operator
-- @return a new array of sorted values
-- @see sort
function _.sortBy(t, transform, comp)