Poq.SDK.Node

Home > @poq/transform > Transformer > toPlain

Transformer.toPlain() method

Method transforms typed object into plain javascript object.

Signature:

static toPlain(typedElement: {
        constructor: Function;
    }, options?: TransformOptions): PlainObj;

Parameters

Parameter Type Description
typedElement { constructor: Function; } Defines instance of type to transform into plain.
options TransformOptions (Optional)

Returns:

PlainObj

Plain object representation of instance.