FCF 2.0 development in progress...
> > > >
[News] [Packages API] [Downloads] [Donate to the project] [Contacts]

fcf.str() function

string fcf.str(mixed a_data)

Package: fcf-framework-core

File: fcf-framework-core:fcf.js

Available from version: 2.0.2

Converts data to a string.


mixed a_data
- Data to be converted to string representation
- Result string
Detailed description

NaN, undefined, and null values are converted to an empty string.

Date and Error objects are translated to their respective representations

For the rest of the object data, the JSON.stringify() function is called