Searched refs:arr (Results 1 – 3 of 3) sorted by relevance
176 function humanizeList(arr, itemFormatter) { argument178 arr = arr || [];181 for (var i = 0; i < arr.length; i++) {182 out.push(itemFormatter(arr[i]) +183 ((i < arr.length - 2) ? ', ' : '') +184 ((i == arr.length - 2) ? ' and ' : ''));
97 func index(arr []string, target string) int {98 for idx, element := range arr {
67 func stringIn(arr []string, str string) bool {68 for _, a := range arr {