HasValidSpan(Boolean) Method

Definition

Namespace Markdig.Syntax
Assembly Markdig.dll

Checks whether this container span is valid with respect to child block spans.

public bool HasValidSpan(bool recursive = false)

Parameters

recursive
Boolean

When true, validates descendant container blocks and inline containers recursively.

Returns

Boolean
true when this container span contains all direct child spans and recursive checks (if enabled) succeed; otherwise, false.