path.isresourcefile

The path.isresourcefile function returns true if the specified path represents a Windows resource file, based on its file extension.

path.isresourcefile("path")

Parameters

path is the file system path to check.

Return Value

True if the path matches a well-known Windows resource file extension, false otherwise.