text(_:)

Set the text of this element. Any existing contents (text or elements) will be cleared

Element.swift:1105
@discardableResult func text(_ text: String) throws -> Element
<param>
<return>