ApplyFunc - returns new set containing each value processed by 'applyFn'. A 'applyFn' should accept element in a set as a argument and return a processed string. The function can do any logic to return a processed string.
(applyFn func(string) string)
| 90 | // a processed string. The function can do any logic to return a processed |
| 91 | // string. |
| 92 | func (set StringSet) ApplyFunc(applyFn func(string) string) StringSet { |
| 93 | return StringSet(Set[string](set).ApplyFunc(applyFn)) |
| 94 | } |
| 95 | |
| 96 | // Equals - checks whether given set is equal to current set or not. |
| 97 | func (set StringSet) Equals(sset StringSet) bool { |
no test coverage detected