Question marked as
If you are on iOS 11 or iOS 12:
Go to Settings > Camera > Formats
If it is set to High Efficiency then the format is HEIF
If it is set to Most Compatible then the format is JPEG