/**
 * Join filter
 */

export const name = 'join'
export const alias = '&'

/**
 * Joins an array of strings.
 *
 * @param {Array} inputStrings
 * @param {String} param
 * @returns {String}
 */
export function apply (inputStrings, param) {

  // make sure that input strings is an array
  if (!(inputStrings instanceof Array)) return inputStrings

  // get delimiter
  let delimiter = param

  // filter out empty strings
  inputStrings = inputStrings.filter((inputString) => {
    return inputString && inputString.length
  })

  // join strings using delimiter
  return inputStrings.join(delimiter)
}

@@ -342,16 +342,247 @@
 trings%0A%0A
+  // TODO fix this upstream, in populator%0A  inputStrings = inputStrings.map(str =%3E %7B%0A    if (str instanceof Object && str.hasOwnProperty('hasValueForKey')) %7B%0A      return str.populated%0A    %7D%0A    else %7B%0A      return str%0A    %7D%0A  %7D)%0A%0A
   // get

Fix for join filter in XD