Converts a string or array of strings into a normalized string array.
Empty string values are filtered out. When no non-empty value remains,
defaultValue is returned (defaults to []).
Parameters
value: string|string[]|undefined
The string or array of strings to normalize.
defaultValue: string[] = []
Returned when value is empty or contains only empty strings.
Converts a string or array of strings into a normalized string array. Empty string values are filtered out. When no non-empty value remains,
defaultValueis returned (defaults to[]).