extension

Returns the file extension, or an empty string if no extension is appropriate.

Syntax

std::string DetectionInfo::extension() const