Select Git revision
-
Md. Alim Ul Karim authored
hotfix/v0.5.1 : "SliceSlice updated with linq methods" "coreinstruction added with flat structure" "invalid structure method added" hotfix/v0.5.1 hotfix/v0.5.1 : "SliceSlice updated with linq methods" "coreinstruction added with flat structure" "invalid structure method added" See merge request !49
Md. Alim Ul Karim authoredhotfix/v0.5.1 : "SliceSlice updated with linq methods" "coreinstruction added with flat structure" "invalid structure method added" hotfix/v0.5.1 hotfix/v0.5.1 : "SliceSlice updated with linq methods" "coreinstruction added with flat structure" "invalid structure method added" See merge request !49
LastSafeIndexPtr.go 217 B
package stringslice
import "gitlab.com/evatix-go/core/constants"
func LastSafeIndexPtr(slice *[]string) int {
if IsEmptyPtr(slice) {
return constants.InvalidNotFoundCase
}
return len(*slice) - constants.One
}