• Checks if the data is a Comment object.

    It has the side effect of changing the type of the object to Comment if applicable.

    Parameters

    • data: any

      the object to check

    Returns data is Comment

    • true if the object is a Comment