PHP Class Ublaboo\DataGrid\Utils\ArraysHelper

Inheritance: extends Nette\Object
Afficher le fichier Open project: ublaboo/datagrid Class Usage Examples

Méthodes publiques

Méthode Description
testEmpty ( array $array ) : boolean Test recursively whether given array is empty
testTruthy ( array | Traversable $a ) : boolean Is array and its values truthy?

Method Details

testEmpty() public static méthode

Test recursively whether given array is empty
public static testEmpty ( array $array ) : boolean
$array array
Résultat boolean

testTruthy() public static méthode

Is array and its values truthy?
public static testTruthy ( array | Traversable $a ) : boolean
$a array | Traversable
Résultat boolean