coerce.toObject

This function converts the specified value to an object type.

Syntax

coerce.toObject(value)

Arguments

Argument

Type

Description

value

any

The value to be coerced.

Returns

Type

Description

object

The coerced object.

Examples

The function coerce.toObject($Activity[xxx].xxx) returns a JSON object.