diff options
author | Yonaba <roland.yonaba@gmail.com> | 2017-04-14 11:14:53 +0300 |
---|---|---|
committer | Yonaba <roland.yonaba@gmail.com> | 2017-04-14 11:14:53 +0300 |
commit | 6b251d6cc18c8ae144af515ca093664706b53f6a (patch) | |
tree | 10c46063c3287aec2cf55c7f9bdaa2e8274f302f /doc | |
parent | c322b82ab4e60bbb722792a6768b90900c53ef50 (diff) |
Added _.noop
Diffstat (limited to 'doc')
-rw-r--r-- | doc/index.html | 25 | ||||
-rw-r--r-- | doc/topics/tutorial.md.html | 11 | ||||
-rw-r--r-- | doc/tutorial.md | 8 |
3 files changed, 42 insertions, 2 deletions
diff --git a/doc/index.html b/doc/index.html index 792fd66..27bbb34 100644 --- a/doc/index.html +++ b/doc/index.html @@ -379,6 +379,10 @@ <h2><a href="#Utility_functions">Utility functions </a></h2> <table class="function_list"> <tr> + <td class="name" nowrap><a href="#noop">noop ()</a></td> + <td class="summary">The no-operation function.</td> + </tr> + <tr> <td class="name" nowrap><a href="#identity">identity (value)</a></td> <td class="summary">Returns the passed-in value.</td> </tr> @@ -3188,6 +3192,25 @@ <dl class="function"> <dt> + <a name = "noop"></a> + <strong>noop ()</strong> + </dt> + <dd> + The no-operation function. + + + + <h3>Returns:</h3> + <ol> + + nothing + </ol> + + + + +</dd> + <dt> <a name = "identity"></a> <strong>identity (value)</strong> </dt> @@ -4709,7 +4732,7 @@ </div> <!-- id="main" --> <div id="about"> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> -<i style="float:right;">Last updated 2017-04-13 15:52:55 </i> +<i style="float:right;">Last updated 2017-04-14 08:14:37 </i> </div> <!-- id="about" --> </div> <!-- id="container" --> </body> diff --git a/doc/topics/tutorial.md.html b/doc/topics/tutorial.md.html index b67a04a..87bc9ca 100644 --- a/doc/topics/tutorial.md.html +++ b/doc/topics/tutorial.md.html @@ -1407,6 +1407,15 @@ _.concat({<span class="string">'a'</span>,<span class="number">1</span>,<span cl <h2><a name='utility'>Utility functions</a></h2> +<h3>noop ()</h3> + +<p>The no-operation function. Takes nothing, returns nothing. It is being used internally.</p> + +<pre> +_.noop() <span class="comment">-- => nil</span> +</pre> + + <h3>identity (value)</h3> <p>Returns the passed-in value. <br/> @@ -2145,7 +2154,7 @@ _.import(context, <span class="keyword">true</span>) </div> <!-- id="main" --> <div id="about"> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> -<i style="float:right;">Last updated 2017-04-13 15:52:55 </i> +<i style="float:right;">Last updated 2017-04-14 08:14:37 </i> </div> <!-- id="about" --> </div> <!-- id="container" --> </body> diff --git a/doc/tutorial.md b/doc/tutorial.md index 34d36d0..cfb6c46 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -1203,6 +1203,14 @@ _.concat({'a',1,0,1,'b'}) -- => 'a101b' ## <a name='utility'>Utility functions</a> +### noop () + +The no-operation function. Takes nothing, returns nothing. It is being used internally. + +```lua +_.noop() -- => nil +```` + ### identity (value) Returns the passed-in value. <br/> |