UNPKG

delphirtl

Version:
28 lines (14 loc) 603 B
[**delphirtl**](../README.md) • **Docs** *** [delphirtl](../globals.md) / IncludeTrailingPathDelimiter # Function: IncludeTrailingPathDelimiter() > **IncludeTrailingPathDelimiter**(`APath`): `string` Adds a path delimiter to the given string. If the path delimiter is already at the end of the string, does nothing. ## Parameters • **APath**: `string` Given path to check for delimiter to add to ## Returns `string` The path with added delimiter ## Defined in [src/sysutils.ts:334](https://github.com/chuacw/delphirtl/blob/b2d86277a5251f0037cf01044224c3e29dc4c6be/src/sysutils.ts#L334)