From e8cbadb5dc8f45963b0617e127611fb816b7c3cc Mon Sep 17 00:00:00 2001 From: Ricardo Boluda Date: Mon, 12 Nov 2018 12:18:26 +0100 Subject: [PATCH] :memo: Update documentation --- docs/constants.js.html | 2 +- docs/fromPairsMap.js.html | 2 +- docs/fromPairsMapNonNil.js.html | 126 ++++++++++++++++++++++ docs/getTruthyKeys.js.html | 2 +- docs/global.html | 184 +++++++++++++++++++++++++++++++- docs/hasTruthyValues.js.html | 2 +- docs/index.html | 12 +-- docs/index.js.html | 2 +- docs/mGet.js.html | 2 +- docs/mapNonNil.js.html | 2 +- docs/mergeForEach.js.html | 2 +- docs/shortcuttedReduce.js.html | 2 +- 12 files changed, 322 insertions(+), 18 deletions(-) create mode 100644 docs/fromPairsMapNonNil.js.html diff --git a/docs/constants.js.html b/docs/constants.js.html index 4cfdded..a5f4c2e 100644 --- a/docs/constants.js.html +++ b/docs/constants.js.html @@ -72,7 +72,7 @@

Geoblink Lodash Mixins

- +
diff --git a/docs/fromPairsMap.js.html b/docs/fromPairsMap.js.html index f7736d9..622221f 100644 --- a/docs/fromPairsMap.js.html +++ b/docs/fromPairsMap.js.html @@ -72,7 +72,7 @@

Geoblink Lodash Mixins

- +
diff --git a/docs/fromPairsMapNonNil.js.html b/docs/fromPairsMapNonNil.js.html new file mode 100644 index 0000000..8af64cc --- /dev/null +++ b/docs/fromPairsMapNonNil.js.html @@ -0,0 +1,126 @@ + + + + + + + + + + + fromPairsMapNonNil.js - Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ fromPairsMapNonNil.js +

+ + + + + +
+
+
const _ = require('lodash')
+const mapNonNil = require('../src/mapNonNil')
+module.exports = fromPairsMapNonNil
+
+/**
+ * Applies `fromPairs` to the result of mapping and filtering `nil` values given `iteratee` to given
+ * collection.
+ *
+ * @param {Array|Object} collection Collection to iterate over
+ * @param {Function} iteratee Function invoked per iteration
+ * @returns {Object} New object
+ */
+function fromPairsMapNonNil (collection, iteratee) {
+  return _.fromPairs(mapNonNil(collection, iteratee))
+}
+
+
+
+ + + + +
+ +
+ + + + + + + + + + diff --git a/docs/getTruthyKeys.js.html b/docs/getTruthyKeys.js.html index eab7f66..2bcbf69 100644 --- a/docs/getTruthyKeys.js.html +++ b/docs/getTruthyKeys.js.html @@ -72,7 +72,7 @@

Geoblink Lodash Mixins

- +
diff --git a/docs/global.html b/docs/global.html index 6984cad..88c5301 100644 --- a/docs/global.html +++ b/docs/global.html @@ -70,7 +70,7 @@

Geoblink Lodash Mixins

- +
@@ -532,6 +532,188 @@
Parameters:
+ + + + + + +

+ fromPairsMapNonNil(collection, iteratee) → {Object} +

+
+ + + + + +
+ Applies `fromPairs` to the result of mapping and filtering `nil` values given `iteratee` to given +collection. +
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
collection + + + + Array + + + | + + + Object + + + + + + + + Collection to iterate over + +
iteratee + + + + function + + + + + + + + Function invoked per iteration + +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + diff --git a/docs/hasTruthyValues.js.html b/docs/hasTruthyValues.js.html index 9b72573..2aadffd 100644 --- a/docs/hasTruthyValues.js.html +++ b/docs/hasTruthyValues.js.html @@ -72,7 +72,7 @@

Geoblink Lodash Mixins

-
+
diff --git a/docs/index.html b/docs/index.html index 48c538a..b60a83b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -70,7 +70,7 @@

Geoblink Lodash Mixins

- +
@@ -92,18 +92,14 @@