Function getType

  • Returns the object type of the given payload

    Parameters

    • payload: unknown

    Returns string