Home > @poq/transform > DateConverter > toPlain
Method transforms instance of class/type into plain representation.
Signature:
toPlain(_transformer: typeof Transformer, item: Date): string;
Parameter | Type | Description |
---|---|---|
_transformer | typeof Transformer | |
item | Date | Instance of class/type to be transformed into plain representation. |
Returns:
string
Return plain representation of class/type instance.