Data Introspection
Inspect
Syntax
inspect(object)
Description
The inspect() function returns a human readable representation of the object given as argument. This function is meant as a debugging aid.
Arguments
| Position | Possible Values | Required | Default Value |
|---|---|---|---|
| 1 | Resource collection -OR- Value | Yes | None |
Result
String representation of the given object.
Examples
@servers = rs_cm.deployments.get(filter: ["name==default"]).servers()
log_info(inspect(@servers))