Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                

array.isEmpty()

edit

Determines if the array is empty.

array.isEmpty( )

Returns: Boolean

This function does not take any arguments.

Examples

edit
	myarray = ["one","two","three","TWO","five","Two"];
	res = myarray.isempty();
	writedump(res);
	myarray = [];
	res = myarray.isempty();
	writedump(res);

See also