Options
All
  • Public
  • Public/Protected
  • All
Menu

Module isSet

Index

References

Functions Lang

References

Renames and re-exports isSet

Lang Functions

  • isSet(value: any): value is Set<any>
  • Checks if value is classified as a Set object.

    since

    5.5.0

    example
    isSet(new Set)
    // => true

    isSet(new WeakSet)
    // => false

    Parameters

    • value: any

      The value to check.

    Returns value is Set<any>

    Returns true if value is a set, else false.