Skip to content

Function: depthOf() ​

ts
function depthOf(path): number;

Defined in: src/testing/pagination.ts:56

Depth of a comment from its materialized path (0.24.27 → 2); top-level comments are depth 1.

Parameters ​

ParameterType
pathstring

Returns ​

number