CompareSeqLink returns true if any value in the sequence link slice equals to the given LHS value.
(lhs any, rhs []any)
| 171 | // in the sequence link slice equals to the |
| 172 | // given LHS value. |
| 173 | func CompareSeqLink(lhs any, rhs []any) bool { |
| 174 | if lhs == nil || rhs == nil { |
| 175 | return false |
| 176 | } |
| 177 | for _, v := range rhs { |
| 178 | if compareSeqLink(lhs, v) { |
| 179 | return true |
| 180 | } |
| 181 | } |
| 182 | return false |
| 183 | } |
| 184 | |
| 185 | // CompareSeqLinks returns true any LHS sequence |
| 186 | // link values equal to the RHS sequence link values. |
no test coverage detected