Function isFile

  • Returns whether the payload is a File

    Parameters

    • payload: unknown

    Returns payload is File