Skip to content

format

typescript
Path.GetExtension(path)

class: Path

description

Returns the extension of the specified path.

parameter

param_nametypedescription
pathstringThe specified path.

return

typedescription
stringA string representing the extension.

code example