gitlab.com/evatix-go/core@v1.3.55/coredata/corestr/AllIndividualItemsStringsOfStringsPointerLength.go (about)

     1  package corestr
     2  
     3  func AllIndividualItemsStringsOfStringsPointerLength(stringsOfStringsItems *[]*[]string) int {
     4  	if stringsOfStringsItems == nil || *stringsOfStringsItems == nil {
     5  		return 0
     6  	}
     7  
     8  	length := 0
     9  
    10  	for _, stringsItems := range *stringsOfStringsItems {
    11  		if stringsItems == nil {
    12  			continue
    13  		}
    14  
    15  		length += len(*stringsItems)
    16  	}
    17  
    18  	return length
    19  }