IsReference

The IsReference() method returns whether the DocumentLink instance’s Kind is a reference definition.

Overloads

IsReference()
Returns whether the DocumentLink instance’s Kind is a reference definition.

IsReference()

Returns whether the DocumentLink instance’s Kind is a reference definition.

[ParsedDocument] IsReference()

Parameters

None.

Returns

The method returns $true if the Kind is ReferenceDefinition or $false if not.

Exceptions

None.

Examples

The following example demonstrates retrieving the list of reference link definitions from a parsed document.

$Doc = Get-Document ./README.md
$Doc.Links | Where-Object -FilterScript { $_.IsReference() }