Module: sources/cores/arrays/isArrayOfMultiElement

Export function to validate if a value is an array with more than one value
Author:
License:
Source:

Example

import { isArrayOfMultiElement } from 'itee-validators'

if( isArrayOfMultiElement( value ) ) {
    //...
} else {
    //...
}

Methods


<static> isArrayOfMultiElement(data)

Check if given data is an array with multiples values
Parameters:
Name Type Description
data * The data to check against the single valued array
Source:
Returns:
true if data is an array with multiples values, false otherwise
Type
boolean