You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/repl/help/lib/db.js
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1373,9 +1373,10 @@ var db = {
1373
1373
"noneByRight": "\nnoneByRight( collection, predicate[, thisArg ] )\n Tests whether all elements in a collection fail a test implemented by a\n predicate function, iterating from right to left.\n\n The predicate function is provided three arguments:\n\n - `value`: collection value\n - `index`: collection index\n - `collection`: the input collection\n\n The function immediately returns upon encountering a truthy return value.\n\n If provided an empty collection, the function returns `true`.\n\n Parameters\n ----------\n collection: Array|TypedArray|Object\n Input collection over which to iterate. If provided an object, the\n object must be array-like (excluding strings and functions).\n\n predicate: Function\n The test function.\n\n thisArg: any (optional)\n Execution context.\n\n Returns\n -------\n bool: boolean\n The function returns `true` if the predicate function returns a falsy\n value for all elements; otherwise, the function returns `false`.\n\n Examples\n --------\n > function positive( v ) { return ( v > 0 ); };\n > var arr = [ -1, -2, -3, -4 ];\n > var bool = noneByRight( arr, positive )\n true\n\n See Also\n --------\n anyByRight, everyByRight, forEachRight, none, noneBy, someByRight\n",
1374
1374
"noneByRightAsync": "\nnoneByRightAsync( collection, [options,] predicate, done )\n Tests whether all elements in a collection fail a test implemented by a\n predicate function, iterating from right to left.\n\n When invoked, the predicate function is provided a maximum of four\n arguments:\n\n - `value`: collection value\n - `index`: collection index\n - `collection`: the input collection\n - `next`: a callback to be invoked after processing a collection `value`\n\n The actual number of provided arguments depends on function length. If the\n predicate function accepts two arguments, the predicate function is\n provided:\n\n - `value`\n - `next`\n\n If the predicate function accepts three arguments, the predicate function is\n provided:\n\n - `value`\n - `index`\n - `next`\n\n For every other predicate function signature, the predicate function is\n provided all four arguments.\n\n The `next` callback takes two arguments:\n\n - `error`: error argument\n - `result`: test result\n\n If a provided function calls the `next` callback with a truthy `error`\n argument, the function suspends execution and immediately calls the `done`\n callback for subsequent `error` handling.\n\n The function immediately returns upon encountering a truthy `result` value\n and calls the `done` callback with `null` as the first argument and `false`\n as the second argument.\n\n If all elements fail, the function calls the `done` callback with `null` as\n the first argument and `true` as the second argument.\n\n Execution is *not* guaranteed to be asynchronous. To guarantee asynchrony,\n wrap the `done` callback in a function which either executes at the end of\n the current stack (e.g., `nextTick`) or during a subsequent turn of the\n event loop (e.g., `setImmediate`, `setTimeout`).\n\n The function does not support dynamic collection resizing.\n\n The function does not skip `undefined` elements.\n\n Parameters\n ----------\n collection: Array|TypedArray|Object\n Input collection over which to iterate. If provided an object, the\n object must be array-like (excluding strings and functions).\n\n options: Object (optional)\n Function options.\n\n options.limit: integer (optional)\n Maximum number of pending invocations. Default: Infinity.\n\n options.series: boolean (optional)\n Boolean indicating whether to process each collection element\n sequentially. Default: false.\n\n options.thisArg: any (optional)\n Execution context.\n\n predicate: Function\n The test function to invoke for each element in a collection.\n\n done: Function\n A callback invoked either upon processing all collection elements or\n upon encountering an error.\n\n Examples\n --------\n // Basic usage:\n > function predicate( value, next ) {\n ... setTimeout( onTimeout, value );\n ... function onTimeout() {\n ... console.log( value );\n ... next( null, false );\n ... }\n ... };\n > function done( error, bool ) {\n ... if ( error ) {\n ... throw error;\n ... }\n ... console.log( bool );\n ... };\n > var arr = [ 1000, 2500, 3000 ];\n > noneByRightAsync( arr, predicate, done )\n 1000\n 2500\n 3000\n true\n\n // Limit number of concurrent invocations:\n > function predicate( value, next ) {\n ... setTimeout( onTimeout, value );\n ... function onTimeout() {\n ... console.log( value );\n ... next( null, false );\n ... }\n ... };\n > function done( error, bool ) {\n ... if ( error ) {\n ... throw error;\n ... }\n ... console.log( bool );\n ... };\n > var opts = { 'limit': 2 };\n > var arr = [ 1000, 2500, 3000 ];\n > noneByRightAsync( arr, opts, predicate, done )\n 2500\n 3000\n 1000\n true\n\n // Process sequentially:\n > function predicate( value, next ) {\n ... setTimeout( onTimeout, value );\n ... function onTimeout() {\n ... console.log( value );\n ... next( null, false );\n ... }\n ... };\n > function done( error, bool ) {\n ... if ( error ) {\n ... throw error;\n ... }\n ... console.log( bool );\n ... };\n > var opts = { 'series': true };\n > var arr = [ 1000, 2500, 3000 ];\n > noneByRightAsync( arr, opts, predicate, done )\n 3000\n 2500\n 1000\n true\n\n\nnoneByRightAsync.factory( [options,] predicate )\n Returns a function which tests whether all elements in a collection fail a\n test implemented by a predicate function, iterating from right to left.\n\n Parameters\n ----------\n options: Object (optional)\n Function options.\n\n options.limit: integer (optional)\n Maximum number of pending invocations. Default: Infinity.\n\n options.series: boolean (optional)\n Boolean indicating whether to process each collection element\n sequentially. Default: false.\n\n options.thisArg: any (optional)\n Execution context.\n\n predicate: Function\n The test function to invoke for each element in a collection.\n\n Returns\n -------\n out: Function\n A function which tests each element in a collection.\n\n Examples\n --------\n > function predicate( value, next ) {\n ... setTimeout( onTimeout, value );\n ... function onTimeout() {\n ... console.log( value );\n ... next( null, false );\n ... }\n ... };\n > var opts = { 'series': true };\n > var f = noneByRightAsync.factory( opts, predicate );\n > function done( error, bool ) {\n ... if ( error ) {\n ... throw error;\n ... }\n ... console.log( bool );\n ... };\n > var arr = [ 1000, 2500, 3000 ];\n > f( arr, done )\n 3000\n 2500\n 1000\n true\n > arr = [ 1000, 1500, 2000 ];\n > f( arr, done )\n 2000\n 1500\n 1000\n true\n\n See Also\n --------\n anyByRightAsync, everyByRightAsync, forEachRightAsync, noneByAsync, noneByRight, someByRightAsync\n",
1375
1375
"nonEnumerableInheritedPropertyNames": "\nnonEnumerableInheritedPropertyNames( value[, level] )\n Returns an array of an object's inherited non-enumerable property names.\n\n Name order is not guaranteed, as object key enumeration is not specified\n according to the ECMAScript specification. In practice, however, most\n engines use insertion order to sort an object's keys, thus allowing for\n deterministic extraction.\n\n If provided `null` or `undefined`, the function returns an empty array.\n\n Parameters\n ----------\n value: any\n Input value.\n\n level: integer (optional)\n Inheritance level.\n\n Returns\n -------\n keys: Array\n List of an object's inherited non-enumerable property names.\n\n Examples\n --------\n > var keys = nonEnumerableInheritedPropertyNames( {} )\n\n See Also\n --------\n objectKeys, nonEnumerablePropertyNames, nonEnumerablePropertyNamesIn, nonEnumerablePropertySymbols, propertyNames\n",
1376
-
"nonEnumerablePropertyNames": "\nnonEnumerablePropertyNames( value )\n Returns an array of an object's own non-enumerable property names.\n\n Name order is not guaranteed, as object key enumeration is not specified\n according to the ECMAScript specification. In practice, however, most\n engines use insertion order to sort an object's keys, thus allowing for\n deterministic extraction.\n\n If provided `null` or `undefined`, the function returns an empty array.\n\n Parameters\n ----------\n value: any\n Input value.\n\n Returns\n -------\n keys: Array\n List of an object's own non-enumerable property names.\n\n Examples\n --------\n > var obj = {};\n > var desc = {};\n > desc.configurable = false;\n > desc.enumerable = false;\n > desc.writable = true;\n > desc.value = 'boop';\n > defineProperty( obj, 'beep', desc );\n > var keys = nonEnumerablePropertyNames( obj )\n e.g., [ 'beep', ... ]\n\n See Also\n --------\n objectKeys, nonEnumerableInheritedPropertyNames, nonEnumerablePropertyNamesIn, propertyNames\n",
1376
+
"nonEnumerablePropertyNames": "\nnonEnumerablePropertyNames( value )\n Returns an array of an object's own non-enumerable property names.\n\n Name order is not guaranteed, as object key enumeration is not specified\n according to the ECMAScript specification. In practice, however, most\n engines use insertion order to sort an object's keys, thus allowing for\n deterministic extraction.\n\n If provided `null` or `undefined`, the function returns an empty array.\n\n Parameters\n ----------\n value: any\n Input value.\n\n Returns\n -------\n keys: Array\n List of an object's own non-enumerable property names.\n\n Examples\n --------\n > var obj = {};\n > var desc = {};\n > desc.configurable = false;\n > desc.enumerable = false;\n > desc.writable = true;\n > desc.value = 'boop';\n > defineProperty( obj, 'beep', desc );\n > var keys = nonEnumerablePropertyNames( obj )\n e.g., [ 'beep', ... ]\n\n See Also\n --------\n objectKeys, nonEnumerableInheritedPropertyNames, nonEnumerablePropertyNamesIn, nonEnumerablePropertySymbolsIn, propertyNames\n",
1377
1377
"nonEnumerablePropertyNamesIn": "\nnonEnumerablePropertyNamesIn( value )\n Returns an array of an object's own and inherited non-enumerable property\n names.\n\n Name order is not guaranteed, as object key enumeration is not specified\n according to the ECMAScript specification. In practice, however, most\n engines use insertion order to sort an object's keys, thus allowing for\n deterministic extraction.\n\n If provided `null` or `undefined`, the function returns an empty array.\n\n Parameters\n ----------\n value: any\n Input value.\n\n Returns\n -------\n keys: Array\n List of an object's own and inherited non-enumerable property names.\n\n Examples\n --------\n > var obj = {};\n > var desc = {};\n > desc.configurable = false;\n > desc.enumerable = false;\n > desc.writable = true;\n > desc.value = 'boop';\n > defineProperty( obj, 'beep', desc );\n > var keys = nonEnumerablePropertyNamesIn( obj )\n e.g., [ 'beep', ... ]\n\n See Also\n --------\n keysIn, nonEnumerableInheritedPropertyNames, nonEnumerablePropertyNames, propertyNamesIn\n",
1378
-
"nonEnumerablePropertySymbols": "\nnonEnumerablePropertySymbols( value )\n Returns an array of an object's own non-enumerable symbol properties.\n\n Property order is not guaranteed, as object property enumeration is not\n specified according to the ECMAScript specification. In practice, however,\n most engines use insertion order to sort an object's properties, thus\n allowing for deterministic extraction.\n\n If provided `null` or `undefined`, the function returns an empty array.\n\n Parameters\n ----------\n value: any\n Input value.\n\n Returns\n -------\n symbols: Array\n List of an object's own non-enumerable symbol properties.\n\n Examples\n --------\n > var obj = {};\n > var desc = {};\n > desc.configurable = false;\n > desc.enumerable = false;\n > desc.writable = true;\n > desc.value = 'boop';\n > var sym = ( {{@alias:@stdlib/symbol/ctor}} ) ? Symbol( 'beep' ) : 'beep';\n > defineProperty( obj, sym, desc );\n > var symbols = nonEnumerablePropertySymbols( obj )\n\n See Also\n --------\n nonEnumerablePropertyNames, propertySymbols\n",
1378
+
"nonEnumerablePropertySymbols": "\nnonEnumerablePropertySymbols( value )\n Returns an array of an object's own non-enumerable symbol properties.\n\n Property order is not guaranteed, as object property enumeration is not\n specified according to the ECMAScript specification. In practice, however,\n most engines use insertion order to sort an object's properties, thus\n allowing for deterministic extraction.\n\n If provided `null` or `undefined`, the function returns an empty array.\n\n Parameters\n ----------\n value: any\n Input value.\n\n Returns\n -------\n symbols: Array\n List of an object's own non-enumerable symbol properties.\n\n Examples\n --------\n > var obj = {};\n > var desc = {};\n > desc.configurable = false;\n > desc.enumerable = false;\n > desc.writable = true;\n > desc.value = 'boop';\n > var sym = ( {{@alias:@stdlib/symbol/ctor}} ) ? Symbol( 'beep' ) : 'beep';\n > defineProperty( obj, sym, desc );\n > var symbols = nonEnumerablePropertySymbols( obj )\n\n See Also\n --------\n nonEnumerablePropertyNames, nonEnumerablePropertySymbolsIn, propertySymbols\n",
1379
+
"nonEnumerablePropertySymbolsIn": "\nnonEnumerablePropertySymbolsIn( value )\n Returns an array of an object's own and inherited non-enumerable symbol\n properties.\n\n Property order is not guaranteed, as object property enumeration is not\n specified according to the ECMAScript specification. In practice, however,\n most engines use insertion order to sort an object's properties, thus\n allowing for deterministic extraction.\n\n If provided `null` or `undefined`, the function returns an empty array.\n\n Parameters\n ----------\n value: any\n Input value.\n\n Returns\n -------\n symbols: Array\n List of an object's own and inherited non-enumerable symbol properties.\n\n Examples\n --------\n > var obj = {};\n > var desc = {};\n > desc.configurable = false;\n > desc.enumerable = false;\n > desc.writable = true;\n > desc.value = 'boop';\n > var sym = ( {{@alias:@stdlib/symbol/ctor}} ) ? Symbol( 'beep' ) : 'beep';\n > defineProperty( obj, sym, desc );\n > var symbols = nonEnumerablePropertySymbolsIn( obj )\n\n See Also\n --------\n nonEnumerablePropertyNamesIn, nonEnumerablePropertySymbols, propertySymbolsIn\n",
1379
1380
"noop": "\nnoop()\n A function which does nothing.\n\n Examples\n --------\n > noop();\n\n",
1380
1381
"now": "\nnow()\n Returns the time in seconds since the epoch.\n\n The Unix epoch is 00:00:00 UTC on 1 January 1970.\n\n Returns\n -------\n out: integer\n Time in seconds since the epoch.\n\n Examples\n --------\n > var ts = now()\n <number>\n\n",
1381
1382
"NUM_CPUS": "\nNUM_CPUS\n Number of CPUs.\n\n In browser environments, the number of CPUs is determined by querying the\n hardware concurrency API.\n\n In Node.js environments, the number of CPUs is determined via the `os`\n module.\n\n Examples\n --------\n > NUM_CPUS\n <number>\n\n",
0 commit comments