Skip Navigation
Type MethodMethod

statuses(of:)

Returns the statuses of the page of a render node.

static func statuses(of renderNode: RenderNode) -> Set<Variant>

Parameters

renderNode

The render node of the page.

Return Value

The statuses, empty for a page that is neither deprecated nor beta.

Discussion

Like swift-docc-render, a page is deprecated if it has a deprecation summary or if it is deprecated on every platform it lists, and beta if it is beta on every platform it lists.