Filter an array to only include defined values (not null or undefined). This function uses the isDefined type guard for filtering.
The array of values to filter
A new array containing only the defined values
Filter an array to only include defined values (not null or undefined). This function uses the isDefined type guard for filtering.