Skip to main content

Function: itemPathNormalize()

itemPathNormalize(path): string

Defined in: db/path.ts:123

Normalizes the given path ensuring it has the correct number of parts and no trailing separator.

Parameters

ParameterTypeDescription
pathstringThe path to normalize.

Returns

string

A normalized path.