func DropLastInt16(list []int16) []int16 {
	listLen := len(list)
	if list == nil || listLen == 0 || listLen == 1 {
		return []int16{}
	}
	newList := make([]int16, listLen-1)
	for i := 0; i < listLen-1; i++ {
		newList[i] = list[i]
	}
	return newList
}
DropLastInt16 drops last item from the list and returns new list.
Returns empty list if there is only one item in the list or list empty
package fp
func DropLastInt(list []int) []int {
	listLen := len(list)
	if list == nil || listLen == 0 || listLen == 1 {
		return []int{}
	}
	newList := make([]int, listLen-1)
	for i := 0; i < listLen-1; i++ {
		newList[i] = list[i]
	}
	return newList
}
func DropLastInt64(list []int64) []int64 {
	listLen := len(list)
	if list == nil || listLen == 0 || listLen == 1 {
		return []int64{}
	}
	newList := make([]int64, listLen-1)
	for i := 0; i < listLen-1; i++ {
		newList[i] = list[i]
	}
	return newList
}
func DropLastInt32(list []int32) []int32 {
	listLen := len(list)
	if list == nil || listLen == 0 || listLen == 1 {
		return []int32{}
	}
	newList := make([]int32, listLen-1)
	for i := 0; i < listLen-1; i++ {
		newList[i] = list[i]
	}
	return newList
}