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

    Function areEqual

    • Function

      areEqual

      Type Parameters

      • Type = any

        The type of the compared entries.

      Parameters

      • ...entries: Type[]

        The entries to compare. Fewer than two entries always counts as equal.

      Returns boolean

      true if all entries are the same value.

      Check whether every entry is the same value, compared with Object.is. Use it for identity; reach for areSimilar when two distinct objects holding the same content should count as equal.