$inspect
Displays the raw merge data used to create the document. Useful for debugging your template when merging documents.
Signature
Arguments
Name
Description
Type
Required
StringNumber
Example
{{$inspect 2}}{
"name":"Order 2321",
"account":[
{
"name":"Acme Co.",
"address":{
"street": "123 Main St.",
"city": "New York",
"state": "New York"
}
}
],
"items":[
{ "name":"Widget 1", "price":123, "qty": 1, "amount": 123 },
{ "name":"Widget 2", "price":321, "qty": 1, "amount": 321 },
{ "name":"Widget 3", "price": 456, "qty": 1, "amount": 456 },
]
}
Last updated
Was this helpful?