Skip to content

Add generic comparison helper function #90

@tarunKoyalwar

Description

@tarunKoyalwar

Proposed Changes

  • Add Generic Comparison helper functions
  • func EqualsAny[T comparable](base T,all ...T)
  • func EqualsAll[T comparable](base T,all ...T)

This can be used in various places for comparing multiple values , errors etc

References:
https://github.com/projectdiscovery/uncover/blob/eced79464c717e39761989d0abafce4be2dc2caf/runner/options.go#L134-L148

Metadata

Metadata

Assignees

Labels

Status: CompletedNothing further to be done with this issue. Awaiting to be closed.Type: EnhancementMost issues will probably ask for additions or changes.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions