CollectiveList<T> extension
Properties
-
arrayMaxValue
→ num
-
Computes the maximum value of array. If array is empty or falsey, undefined is returned.
This is equivalent to the
max
function.
Returns the largest value in array
.
If array
is empty or falsey, undefined is returned.
no setter
-
arrayMeanVlaue
→ num
-
Computes the mean of the values in array.
This is equivalent to the
mean
function.
Returns the mean of the values in array
.
no setter
-
arrayMedianValue
→ num
-
Produce the median of the given array.
This is equivalent to the
median
function.
Returns the median of the given array.
no setter
-
arrayMinValue
→ num
-
Computes the minimum value of array. If array is empty or falsey, undefined is returned.
This is equivalent to the
min
function.
Returns the smallest value in array
.
no setter
-
arrayModeValue
→ num
-
Computes the value that appears most frequently in array.
This is equivalent to the
mode
function.
Returns the value that appears most frequently in array
.
no setter
-
arrayStdValue
→ num
-
Computes the standard deviation of the values in array.
This is equivalent to the
std
function.
Returns the standard deviation of the values in array
.
no setter
-
arraySumValue
→ num
-
Computes the sum of the values in array.
This is equivalent to the
sum
function.
Returns the sum of the values in array
.
no setter
-
arrayVarianceValue
→ num
-
Computes the variance of the values in array.
This is equivalent to the
variance
function.
Returns the variance of the values in array
.
no setter
Methods
-
getValue(List path, [dynamic defaultValue])
→ dynamic
-
Gets the value at path of object. If the resolved value is undefined, the defaultValue is returned in its place.
This is equivalent to the
get
function.
Returns the resolved value.
-
getValueList()
→ List
-
Creates an array of the own enumerable string keyed property values of object.
This is equivalent to the
values
function.
Returns the values in object
.
-
hasInValue(String path)
→ bool
-
Checks if path is a direct or inherited property of object.
This is equivalent to the
hasIn
function.
Returns true
if path
is a direct or inherited property of object
, else false
.
-
hasValue(String path)
→ bool
-
Checks if path is a direct property of object.
This is equivalent to the
has
function.
Returns true
if path
is a direct property of object
, else false
.