Skip to content

isChild

Checks if a path or file is a child of another path or file.

Import:

import { isChild } from '@mnaoumov/obsidian-lib/vault';

Signature:

function isChild(params: IsChildParams): boolean

Parameters:

Parameter Type Description
params IsChildParams The parameters for checking whether the child path or file is a child of the parent path or file.

Returns: boolean — A boolean indicating whether the child path or file is a child of the parent path or file.


Links to this page: