Home > @poq/transform > TypeArrayConverter > toPlain
Method transforms instance of class/type into plain representation.
Signature:
toPlain(transformer: typeof Transformer, items: InstanceType<Ctor>[], options?: TransformOptions): PlainObj[];
| Parameter | Type | Description |
|---|---|---|
| transformer | typeof Transformer | Reference to transformer static class |
| items | InstanceType<Ctor>[] | |
| options | TransformOptions | (Optional) |
Returns:
PlainObj[]
Return plain representation of class/type instance.