1.3 KiB
1.3 KiB
| title | description | menu | weight | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| debug.getOption() function | `debug.getOption()` gets the value of an option using a form of reflection. |
|
201 |
debug.getOption() gets the value of an option using a form of reflection.
Function type signature
(name: string, pkg: string) => A
{{% caption %}} For more information, see Function type signatures. {{% /caption %}}
Parameters
pkg
({{< req >}}) Full path of the package.
name
({{< req >}}) Option name.