CompactDescriber
Hierarchy
- CompactDescriber
Implements
- TypeDescriber
- TypeDescriber
Index
Constructors
Methods
Constructors
constructor
+ new CompactDescriber(options?: object): CompactDescriber
Creates an instance of CompactDescriber. Creates an instance of CompactDescriber.
Parameters:
▪Optional options: object
Options object that can be passed to Node's inspect util.
| Name | Type |
|---|---|
colors | boolean |
compact | boolean |
Returns: CompactDescriber
Methods
describe
▸ describe(arg: any): Stringifiable
Describes argument to human readable form.
Parameters:
| Name | Type | Description |
|---|---|---|
arg | any | Argument to describe. |
Returns: Stringifiable
Description instance.