Console Reference: c3ShowFunc
c3ShowFunc shows documentation a method or field on a specified C3 AI Type. This function is similar to c3ShowType, but shows documentation for only the specified Type property. Use it to view documentation for both static and instance properties.
The requested documentation opens in a new C3 AI Console tab, so you don't lose your working context.
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
type | ✓ | Type | The target C3 Type. |
field | ✓ | string | The C3 Type field or method to document. |
Example
Show documentation for a custom getLastTemperature method on a WindTurbine Type:
JavaScript
c3ShowFunc(WindTurbine, "getLastTemperature"); // Opens a new AI Console tab