Skip to content

Commit 357a1aa

Browse files
committed
docs: update descriptions
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: passed - task: lint_package_json status: passed - task: lint_repl_help status: passed - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 869ab71 commit 357a1aa

File tree

6 files changed

+23
-23
lines changed

6 files changed

+23
-23
lines changed

lib/node_modules/@stdlib/console/log-each-map/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ limitations under the License.
2020

2121
# logEachMap
2222

23-
> Apply a function to array elements and print an interpolated format string.
23+
> Insert array element values and the result of a callback function into a format string and print the result.
2424
2525
<!-- Section to include introductory text. Make sure to keep an empty line after the intro `section` element and another before the `/section` close. -->
2626

@@ -42,7 +42,7 @@ var logEachMap = require( '@stdlib/console/log-each-map' );
4242

4343
#### logEachMap( str\[, ...args], clbk\[, thisArg] )
4444

45-
Applies a function to array elements and prints an interpolated format string.
45+
Inserts array element values and the result of a callback function into a format string and prints the result.
4646

4747
```javascript
4848
function add( a, b ) {

lib/node_modules/@stdlib/console/log-each-map/docs/repl.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
{{alias}}( str[, ...args], clbk[, thisArg] )
3-
Applies a function to array elements and prints an interpolated format
4-
string.
3+
Inserts array element values and the result of a callback function into a
4+
format string and prints the result.
55

66
If an interpolated argument is not a collection, the argument is broadcasted
77
for each iteration.

lib/node_modules/@stdlib/console/log-each-map/docs/types/index.d.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ type TernaryCallback<T, U, V, W, X, Y, ThisArg> = TernaryFcn<T, V, X, ThisArg> |
134134
type Callback<ThisArg> = ( this: ThisArg, ...args: Array<unknown> ) => any;
135135

136136
/**
137-
* Applies a function, inserts results into a format string, and prints the result.
137+
* Inserts the result of a callback function into a format string and prints the result.
138138
*
139139
* @param str - format string
140140
* @param clbk - callback function
@@ -151,7 +151,7 @@ type Callback<ThisArg> = ( this: ThisArg, ...args: Array<unknown> ) => any;
151151
declare function logEachMap<ThisArg = unknown>( str: string, clbk: NullaryCallback<ThisArg>, thisArg?: ThisParameterType<NullaryCallback<ThisArg>> ): void;
152152

153153
/**
154-
* Applies a function to array elements and prints an interpolated format string.
154+
* Inserts array element values and the result of a callback function into a format string and prints the result.
155155
*
156156
* @param str - format string
157157
* @param arg0 - input array
@@ -171,7 +171,7 @@ declare function logEachMap<ThisArg = unknown>( str: string, clbk: NullaryCallba
171171
declare function logEachMap<T = unknown, U extends InputArray<T> = InputArray<T>, ThisArg = unknown>( str: string, arg0: U, clbk: UnaryCallback<T, U, ThisArg>, thisArg?: ThisParameterType<UnaryCallback<T, U, ThisArg>> ): void;
172172

173173
/**
174-
* Applies a function to array elements and prints an interpolated format string.
174+
* Inserts array element values and the result of a callback function into a format string and prints the result.
175175
*
176176
* ## Notes
177177
*
@@ -193,7 +193,7 @@ declare function logEachMap<T = unknown, U extends InputArray<T> = InputArray<T>
193193
declare function logEachMap<T = unknown, ThisArg = unknown>( str: string, arg0: T, clbk: UnaryCallback<T, [ T ], ThisArg>, thisArg?: ThisParameterType<UnaryCallback<T, [ T ], ThisArg>> ): void;
194194

195195
/**
196-
* Applies a function to array elements and prints an interpolated format string.
196+
* Inserts array element values and the result of a callback function into a format string and prints the result.
197197
*
198198
* @param str - format string
199199
* @param arg0 - first input array
@@ -221,7 +221,7 @@ declare function logEachMap<
221221
>( str: string, arg0: U, arg1: W, clbk: BinaryCallback<T, U, V, W, ThisArg>, thisArg?: ThisParameterType<BinaryCallback<T, U, V, W, ThisArg>> ): void;
222222

223223
/**
224-
* Applies a function to array elements and prints an interpolated format string.
224+
* Inserts array element values and the result of a callback function into a format string and prints the result.
225225
*
226226
* ## Notes
227227
*
@@ -251,7 +251,7 @@ declare function logEachMap<
251251
>( str: string, arg0: T, arg1: W, clbk: BinaryCallback<T, [ T ], V, W, ThisArg>, thisArg?: ThisParameterType<BinaryCallback<T, [ T ], V, W, ThisArg>> ): void;
252252

253253
/**
254-
* Applies a function to array elements and prints an interpolated format string.
254+
* Inserts array element values and the result of a callback function into a format string and prints the result.
255255
*
256256
* ## Notes
257257
*
@@ -281,7 +281,7 @@ declare function logEachMap<
281281
>( str: string, arg0: T, arg1: V, clbk: BinaryCallback<T, U, V, [ V ], ThisArg>, thisArg?: ThisParameterType<BinaryCallback<T, U, V, [ V ], ThisArg>> ): void;
282282

283283
/**
284-
* Applies a function to array elements and prints an interpolated format string.
284+
* Inserts array element values and the result of a callback function into a format string and prints the result.
285285
*
286286
* ## Notes
287287
*
@@ -308,7 +308,7 @@ declare function logEachMap<
308308
>( str: string, arg0: T, arg1: V, clbk: BinaryCallback<T, [ T ], V, [ V ], ThisArg>, thisArg?: ThisParameterType<BinaryCallback<T, [ T ], V, [ V ], ThisArg>> ): void;
309309

310310
/**
311-
* Applies a function to array elements and prints an interpolated format string.
311+
* Inserts array element values and the result of a callback function into a format string and prints the result.
312312
*
313313
* @param str - format string
314314
* @param arg0 - first input array
@@ -340,7 +340,7 @@ declare function logEachMap<
340340
>( str: string, arg0: U, arg1: W, arg2: Y, clbk: TernaryCallback<T, U, V, W, X, Y, ThisArg>, thisArg?: ThisParameterType<TernaryCallback<T, U, V, W, X, Y, ThisArg>> ): void;
341341

342342
/**
343-
* Applies a function to array elements and prints an interpolated format string.
343+
* Inserts array element values and the result of a callback function into a format string and prints the result.
344344
*
345345
* ## Notes
346346
*
@@ -374,7 +374,7 @@ declare function logEachMap<
374374
>( str: string, arg0: T, arg1: W, arg2: Y, clbk: TernaryCallback<T, [ T ], V, W, X, Y, ThisArg>, thisArg?: ThisParameterType<TernaryCallback<T, [ T ], V, W, X, Y, ThisArg>> ): void;
375375

376376
/**
377-
* Applies a function to array elements and prints an interpolated format string.
377+
* Inserts array element values and the result of a callback function into a format string and prints the result.
378378
*
379379
* ## Notes
380380
*
@@ -408,7 +408,7 @@ declare function logEachMap<
408408
>( str: string, arg0: U, arg1: V, arg2: Y, clbk: TernaryCallback<T, U, V, [ V ], X, Y, ThisArg>, thisArg?: ThisParameterType<TernaryCallback<T, U, V, [ V ], X, Y, ThisArg>> ): void;
409409

410410
/**
411-
* Applies a function to array elements and prints an interpolated format string.
411+
* Inserts array element values and the result of a callback function into a format string and prints the result.
412412
*
413413
* ## Notes
414414
*
@@ -442,7 +442,7 @@ declare function logEachMap<
442442
>( str: string, arg0: U, arg1: W, arg2: X, clbk: TernaryCallback<T, U, V, W, X, [ X ], ThisArg>, thisArg?: ThisParameterType<TernaryCallback<T, U, V, W, X, [ X ], ThisArg>> ): void;
443443

444444
/**
445-
* Applies a function to array elements and prints an interpolated format string.
445+
* Inserts array element values and the result of a callback function into a format string and prints the result.
446446
*
447447
* ## Notes
448448
*
@@ -474,7 +474,7 @@ declare function logEachMap<
474474
>( str: string, arg0: T, arg1: V, arg2: Y, clbk: TernaryCallback<T, [ T ], V, [ V ], X, Y, ThisArg>, thisArg?: ThisParameterType<TernaryCallback<T, [ T ], V, [ V ], X, Y, ThisArg>> ): void;
475475

476476
/**
477-
* Applies a function to array elements and prints an interpolated format string.
477+
* Inserts array element values and the result of a callback function into a format string and prints the result.
478478
*
479479
* ## Notes
480480
*
@@ -506,7 +506,7 @@ declare function logEachMap<
506506
>( str: string, arg0: T, arg1: W, arg2: X, clbk: TernaryCallback<T, [ T ], V, W, X, [ X ], ThisArg>, thisArg?: ThisParameterType<TernaryCallback<T, [ T ], V, W, X, [ X ], ThisArg>> ): void;
507507

508508
/**
509-
* Applies a function to array elements and prints an interpolated format string.
509+
* Inserts array element values and the result of a callback function into a format string and prints the result.
510510
*
511511
* ## Notes
512512
*
@@ -538,7 +538,7 @@ declare function logEachMap<
538538
>( str: string, arg0: U, arg1: V, arg2: X, clbk: TernaryCallback<T, U, V, [ V ], X, [ X ], ThisArg>, thisArg?: ThisParameterType<TernaryCallback<T, U, V, [ V ], X, [ X ], ThisArg>> ): void;
539539

540540
/**
541-
* Applies a function to array elements and prints an interpolated format string.
541+
* Inserts array element values and the result of a callback function into a format string and prints the result.
542542
*
543543
* ## Notes
544544
*
@@ -567,7 +567,7 @@ declare function logEachMap<
567567
>( str: string, arg0: T, arg1: V, arg2: X, clbk: TernaryCallback<T, [ T ], V, [ V ], X, [ X ], ThisArg>, thisArg?: ThisParameterType<TernaryCallback<T, [ T ], V, [ V ], X, [ X ], ThisArg>> ): void;
568568

569569
/**
570-
* Applies a function to array elements and prints an interpolated format string.
570+
* Inserts array element values and the result of a callback function into a format string and prints the result.
571571
*
572572
* ## Notes
573573
*

lib/node_modules/@stdlib/console/log-each-map/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
'use strict';
2020

2121
/**
22-
* Apply a function to array elements and print an interpolated format string.
22+
* Insert array element values and the result of a callback function into a format string and print the result.
2323
*
2424
* @module @stdlib/console/log-each-map
2525
*

lib/node_modules/@stdlib/console/log-each-map/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ var logger = require( '@stdlib/console/log' );
3333
// MAIN //
3434

3535
/**
36-
* Applies a function to array elements and prints an interpolated format string.
36+
* Inserts array element values and the result of a callback function into a format string and prints the result.
3737
*
3838
* @param {string} str - format string
3939
* @param {...(Collection|*)} [args] - collections or values

lib/node_modules/@stdlib/console/log-each-map/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@stdlib/console/log-each-map",
33
"version": "0.0.0",
4-
"description": "Apply a function to array elements and print an interpolated format string.",
4+
"description": "Insert array element values and the result of a callback function into a format string and print the result.",
55
"license": "Apache-2.0",
66
"author": {
77
"name": "The Stdlib Authors",

0 commit comments

Comments
 (0)