Skip to content

format

typescript
Path.HasExtension(path)

class: Path

description

Check if the specified path has an extension.

parameter

param_nametypedescription
pathstringThe specified path.

return

typedescription
booleanWhether the path has an extension.

code example