utils.file.getExtension

getExtension(path: string) → {string}

return the extension of the file in the given path

Parameters:
Name Type Description
path string

path containing the filename and extension to extract

Returns:
Type Description
string

filename extension.

Powered by webdoc!