File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ var utils = {};
2323/* Utility Functions */
2424
2525/**
26- * Formats the time for Splunk as a the epoch time in seconds.
26+ * Formats the time for Splunk Enterprise or Splunk Cloud as a the epoch time in seconds.
2727 *
2828 * @param {(string|number|date) } time - A date string, timestamp, or <code>Date</code> object.
2929 * @returns {number|null } Epoch time in seconds, or <code>null</code> if <code>time</code> is malformed.
@@ -226,7 +226,7 @@ utils.copyObject = function(obj) {
226226} ;
227227
228228/**
229- * Copies all elements into a new array which is returned.
229+ * Copies all elements into a new array, which is returned.
230230 *
231231 * @param {array } [arr] - Array to copy elements from.
232232 * @returns {array }
@@ -261,10 +261,10 @@ utils.orByProp = function(prop) {
261261} ;
262262
263263/**
264- * Like <code>utils.orByProp()</code> but for a falsey property.
264+ * Like <code>utils.orByProp()</code> but for a false property.
265265 * The first argument after <code>prop</code> with that property
266266 * defined will be returned.
267- * Useful for booleans and numbers.
267+ * Useful for Booleans and numbers.
268268 *
269269 * @param {string } [prop] - property name for other arguments.
270270 * @returns {boolean }
@@ -303,4 +303,4 @@ utils.validateNonNegativeInt = function(value, label) {
303303 return value ;
304304} ;
305305
306- module . exports = utils ;
306+ module . exports = utils ;
You can’t perform that action at this time.
0 commit comments