Function has

  • Verify that the object has all of the properties and values in the pattern, matching loosely.

    Parameters

    Returns boolean