Function tryDetermineFileTypeFromURL

  • Tries to determine the file type of a file from its URL
    This method does perform a range request to the server to get the first few bytes of the file

    Parameters

    • url: string

    Returns Promise<FileType>