Function: itemPathIsValid()
itemPathIsValid(
path):boolean
Defined in: db/path.ts:178
Checks if the given path is valid.
Valid paths must contain lowercase letters, numbers, and the characters
- and _. They must also contain at most 4 components separated by /
characters.
Parameters
| Parameter | Type | Description |
|---|---|---|
path | string | The path to validate. |
Returns
boolean
True if the path is valid, false otherwise.