Summary: Random, standalone functions for array analysis.
Function | Summary |
gtVRAIdx |
Get the array index, at which the (first instance of the) desired value exists. |
isInAscRA |
Is the desired value in the ordered-ascending array of values? |
isRA |
Is the provided object an array? |
util_array.js
: OverviewRandom, standalone functions for array analysis.
util_array
.gtVRAIdx()
Get the array index, at which the (first instance of the) desired value exists.
s_callingFunc
: The function calling this, for potential error messages only.v_alue
: The value to find in a_value
a_value
: The value array to search for v_alue
in. Must be a good arraya_value
Of the first element equal to v_alue
.a_value
element equals v_alue
.gtVRAIdx(s_callingFunc, v_alue, a_value)
util_array
.isInAscRA()
Is the desired value in the ordered-ascending array of values?
v_alue
: The value to find in a_value
. REQUIREDa_value
: The ordered-ascending value array, to search for v_alue
in. Must be a good array. It is assumed that it is ordered-ascending (a..z). If not, this function will behave unpredictably.a_value
equals v_alue
.isInAscRA(v_alue, a_value)
util_array
.isRA()
Is the provided object an array?
This concept comes from Kas Thomas, at
http://www.planetpdf.com/mainpage.asp?webpageid=1144
o_potentialArray
: The object to analyze for array-ness. REQUIRED.o_potentialArray
is an array.isRA(o_potentialArray)
___RPLC___ vfjs_doc_footer ___RPLCZ___