nl_tokens: Transforms the given item or items into a new list of items with the specified prefix ( if any ) appended to each element
pl_tokens: function resolveCollectionItems ( originalItems , itemPrefix ) { if ( utils . isValueNullOrUndefined ( originalItems ) ) { return [ ] ; } else if ( Array . isArray ( originalItems ) ) { var resultItems = [ ] ; for ( var i = 0 ; i < originalItems . length ; i ++ ) { var item = originalItems [ i ] ; if ( utils . isValueNullOrUndefined ( <mask> ) ) { continue ; } resultItems . push ( prefixItem ( item , itemPrefix ) ) ; } return resultItems ; } else { // Represents a single item return [ prefixItem ( originalItems , itemPrefix ) ] ; } }