@hexafuchs/what.js
    Preparing search index...

    Function containsValue

    • Returns whether the object or array contains the given value.

      Supports maps and sets.

      Type Parameters

      • T

      Parameters

      • container: T[] | Record<string, T> | Set<T> | Map<unknown, T>
      • value: T

      Returns boolean