gradum-kit - v0.1.0
    Preparing search index...

    Function equalToAny

    • Function

      equalToAny

      Type Parameters

      • Type = any

        The type of the compared entries.

      Parameters

      • entry: Type

        The entry to look for.

      • ...values: Type[]

        The values to match against. Passing none counts as a match.

      Returns boolean

      true if entry equals any of the values.

      Check whether one entry matches at least one of the given values, compared loosely (==).