SignatureInformation

Represents the signature of something callable. A signature can have a label, like a function-name, a doc-comment, and a set of parameters.

Online Documentation

Constructors

Link copied to clipboard
constructor(label: String, documentation: String = definedExternally)

Creates a new signature information object.

constructor(label: String, documentation: MarkdownString)

Properties

Link copied to clipboard
external var activeParameter: Int?

The index of the active parameter.

Link copied to clipboard
external var documentation: JsAny?

The human-readable doc-comment of this signature. Will be shown in the UI but can be omitted.

Link copied to clipboard
external var label: String

The label of this signature. Will be shown in the UI.

Link copied to clipboard

The parameters of this signature.