Initializer
init(name:comment:introspectable:disguised:deprecated:markedAsDeprecated:version:)
Memberwise initialiser
init(name: String, comment: String, introspectable: Bool = true, disguised: Bool = false, deprecated: String? = nil, markedAsDeprecated: Bool = false, version: String? = nil)
Parameters
name-
The name of the
Thingto initialise comment-
Documentation text for the
Thing introspectable-
Set to
trueif introspectable disguised-
Set to
trueif disguised deprecated-
Documentation on deprecation status if non-
nil markedAsDeprecated-
Set to
trueif deprecated version-
The version this
Thingis first available in