func AnyString(s []string, f func(string) bool) bool {
	for _, v := range s {
		if f(v) {
			return true
		}
	}
	return false
}
AnyString returns true if one of the strings in the slice satisfies the predicate f
package gosc
import (
	"fmt"
	"math/rand"
	"reflect"
	"sort"
	"strings"
	"time"
)
func MapString(s []string, f func(string) string) []string {
	sm := make([]string, len(s))
	for i, v := range s {
		sm[i] = f(v)
	}
	return sm
}
func MapInt(s []int, f func(int) int) []int {
	sm := make([]int, len(s))
	for i, v := range s {
		sm[i] = f(v)
	}
	return sm
}
func MapFloat(s []float64, f func(float64) float64) []float64 {
	sm := make([]float64, len(s))
	for i, v := range s {
		sm[i] = f(v)
	}
	return sm
}
func FilterString(s []string, f func(string) bool) []string {
	sf := make([]string, 0)
	for _, v := range s {
		if f(v) {
			sf = append(sf, v)
		}
	}
	return sf
}
func FilterInt(s []int, f func(int) bool) []int {
	sf := make([]int, 0)
	for _, v := range s {
		if f(v) {
			sf = append(sf, v)
		}
	}
	return sf
}
func FilterFloat(s []float64, f func(float64) bool) []float64 {
	sf := make([]float64, 0)
	for _, v := range s {
		if f(v) {
			sf = append(sf, v)
		}
	}
	return sf
}
func AllString(s []string, f func(string) bool) bool {
	for _, v := range s {
		if !f(v) {
			return false
		}
	}
	return true
}
func AllInt(s []int, f func(int) bool) bool {
	for _, v := range s {
		if !f(v) {
			return false
		}
	}
	return true
}
func AllFloat(s []float64, f func(float64) bool) bool {
	for _, v := range s {
		if !f(v) {
			return false
		}
	}
	return true
}
func EveryString(s []string, f func(string) bool) bool {
	for _, v := range s {
		if !f(v) {
			return false
		}
	}
	return true
}
func EveryInt(s []int, f func(int) bool) bool {
	for _, v := range s {
		if !f(v) {
			return false
		}
	}
	return true
}
func EveryFloat(s []float64, f func(float64) bool) bool {
	for _, v := range s {
		if !f(v) {
			return false
		}
	}
	return true
}