BackgroundModule mahalo/utils/equals

This module exports the equals function.

Index

Functions

equals

  • equals(x: any, y: any): boolean
  • Checks if two provided values are equal to each other. This is differentfrom '===' in that it checks objects for equal own properties. This allowsfor checking objects against their clones created with default.

    Parameters
    • x: any
    • y: any
    Returns boolean