Skip to main content

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

PositionPossible ValuesRequiredDefault Value
1Resource collection -OR- ValueYesNone

Result

String representation of the given object.

Examples

@servers = rs_cm.deployments.get(filter: ["name==default"]).servers()
log_info(inspect(@servers))