Function isRoot

  • Returns if a given object is a root object.

    Parameters

    • value: object

      Target object.

    Returns boolean