Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for stringsEqual (0.14 sec)

  1. operator/pkg/tpath/tree.go

    		if idx >= len(nt) {
    			return nil, false
    		}
    		val := nt[idx]
    		return find(val, path[1:])
    	default:
    		return nil, false
    	}
    }
    
    // stringsEqual reports whether the string representations of a and b are equal. a and b may have different types.
    func stringsEqual(a, b any) bool {
    	return fmt.Sprint(a) == fmt.Sprint(b)
    }
    
    // matchesRegex reports whether str regex matches pattern.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 17.5K bytes
    - Viewed (0)
Back to top