Contents

bold(_:)

Applies a bold font weight to the text.

Declaration

nonisolated func bold(_ isActive: Bool) -> Text

Parameters

  • isActive:

    A Boolean value that indicates whether text has bold styling.

Return Value

Bold text.

See Also

Styling the view’s text