Poq.SDK.Node

Home > @poq/transform > DateConverter > toPlain

DateConverter.toPlain() method

Method transforms instance of class/type into plain representation.

Signature:

toPlain(_transformer: typeof Transformer, item: Date): string;

Parameters

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.