Skip to content
Jason Perkins edited this page May 30, 2015 · 2 revisions

Removes empty strings or nil values from an array, in place.

table.filterempty(arr)

Parameters

arr is the array of values to be filtered.

Return Value

Returns arr with any empty strings or nil values removed.

Availability

Premake 5.0 or later.

Clone this wiki locally