6bf9ab5162
added table.keys() and table.values()
2019-03-12 21:57:54 +08:00
780e9c96b3
Merge pull request #167 from VasiliyRyabtsev/feature/reduce-initializer
...
Add optional initializer to array.reduce()
2018-12-02 02:34:16 +08:00
8e5b1e70d0
Allow additional parameters in array.map()/array.apply() handler
...
Sometimes it is needed to process array when result depends not
on item value only, but also from its position or collection content.
So make array.map() and array.apply() functions more flexible by
supporting optional additional parameters in callback: item index
and reference to array being processed.
(The design is like in https://underscorejs.org/#map )
2018-10-31 18:37:01 +03:00
04cf1c2ed0
Add optional initializer to array.reduce()
2018-10-31 18:07:25 +03:00
f4665e155e
now container modification methods return object itself in all cases
...
for easy chaining
2018-05-29 02:33:19 +03:00
453a966890
Merge pull request #119 from VasiliyRyabtsev/feature/table-filter
...
Implement table.filter() default delegate in base library
2017-12-05 16:28:35 +08:00
c10a777285
Add optional message text parameter for assert()
2017-12-01 11:49:44 +07:00
ee38035634
Implement table.filter() default delegate in base library
...
Filter callback is the same as for array.filter(), ie function(key, value)
2017-11-28 23:08:10 +07:00
457f3b25bc
docs fix... all the builtin_functions for function were mislabeled as array?
2016-06-20 01:07:30 -05:00
7290b1fffe
docs & error message tidy
2016-06-19 15:44:00 -05:00
3b217e7e42
fix getstackinfos docs
2016-06-14 13:09:53 -05:00
7c0550b8ad
printf docs and other small docs tidies
2016-05-15 00:30:15 -05:00
b35c9e827c
fix various typos and incompletely apply very lightweight formatting normalization; clarify sq_getbyhandle applies to class or instance
2016-04-18 06:44:14 -05:00
9c95df0631
added documentation sources
2016-03-14 23:35:04 +08:00