Options
All
  • Public
  • Public/Protected
  • All
Menu

Module isWeakSet

Index

References

Functions Lang

References

Renames and re-exports isWeakSet

Lang Functions

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

    since

    5.6.0

    example
    isWeakSet(new WeakSet)
    // => true

    isWeakSet(new Set)
    // => false

    Parameters

    • value: any

      The value to check.

    Returns value is WeakSet<any>

    Returns true if value is a weak set, else false.