Options
All
  • Public
  • Public/Protected
  • All
Menu

Module is/strictEqual

Index

References

Functions

References

Renames and re-exports isStrictEqual

Functions

  • isStrictEqual(test1: any, test2: any): boolean
  • Returns true if its arguments are equivalent is same value zero terms, false otherwise.

    example
     isStrictEqual(1, 1);        //=> true
    isStrictEqual(1, '1'); //=> false
    isStrictEqual({}, {}); //=> false
    isStrictEqual(NaN, NaN); //=> true
    isStrictEqual(-0, 0); //=> true

    Parameters

    • test1: any
    • test2: any

    Returns boolean

Generated using TypeDoc