mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 10:07:48 +00:00
Update docdown to correctly detect _.noop as a function. [ci skip]
This commit is contained in:
@@ -170,11 +170,11 @@
|
||||
<!-- div -->
|
||||
|
||||
## `Utilities`
|
||||
* [`_.noop`](#_noop)
|
||||
* [`_.escape`](#_escapestring)
|
||||
* [`_.identity`](#_identityvalue)
|
||||
* [`_.mixin`](#_mixinobject-object)
|
||||
* [`_.noConflict`](#_noconflict)
|
||||
* [`_.noop`](#_noop)
|
||||
* [`_.parseInt`](#_parseintvalue-radix)
|
||||
* [`_.random`](#_randommin0-max1-floatingfalse)
|
||||
* [`_.result`](#_resultobject-property)
|
||||
@@ -3941,25 +3941,6 @@ _.values({ 'one': 1, 'two': 2, 'three': 3 });
|
||||
|
||||
## `“Utilities” Methods`
|
||||
|
||||
<!-- div -->
|
||||
|
||||
### <a id="_noop"></a>`_.noop`
|
||||
<a href="#_noop">#</a> [Ⓢ](https://github.com/lodash/lodash/blob/master/lodash.js#L6176 "View in source") [Ⓣ][1]
|
||||
|
||||
*(unknown)*: A no-operation function.
|
||||
|
||||
#### Example
|
||||
```js
|
||||
var object = { 'name': 'fred' };
|
||||
_.noop(object) === undefined;
|
||||
// => true
|
||||
```
|
||||
|
||||
* * *
|
||||
|
||||
<!-- /div -->
|
||||
|
||||
|
||||
<!-- div -->
|
||||
|
||||
### <a id="_escapestring"></a>`_.escape(string)`
|
||||
@@ -4060,6 +4041,25 @@ var lodash = _.noConflict();
|
||||
<!-- /div -->
|
||||
|
||||
|
||||
<!-- div -->
|
||||
|
||||
### <a id="_noop"></a>`_.noop()`
|
||||
<a href="#_noop">#</a> [Ⓢ](https://github.com/lodash/lodash/blob/master/lodash.js#L6176 "View in source") [Ⓣ][1]
|
||||
|
||||
A no-operation function.
|
||||
|
||||
#### Example
|
||||
```js
|
||||
var object = { 'name': 'fred' };
|
||||
_.noop(object) === undefined;
|
||||
// => true
|
||||
```
|
||||
|
||||
* * *
|
||||
|
||||
<!-- /div -->
|
||||
|
||||
|
||||
<!-- div -->
|
||||
|
||||
### <a id="_parseintvalue-radix"></a>`_.parseInt(value, [radix])`
|
||||
|
||||
Reference in New Issue
Block a user