Function isPropertyOf

  • Checks if the given property exists in the given object. This is distinct from hasProperty because it type guards the property rather than the object.

    Type Parameters

    • ParentType

    Parameters

    Returns property is keyof ParentType