Browse Source

Add docs about new dynimcTyping options

pull/406/head
Sergi Almacellas Abellana 8 years ago
parent
commit
aa72c25220
  1. 2
      docs.html

2
docs.html

@ -402,7 +402,7 @@ var csv = Papa.unparse({ @@ -402,7 +402,7 @@ var csv = Papa.unparse({
<code>dynamicTyping</code>
</td>
<td>
If true, numeric and boolean data will be converted to their type instead of remaining strings. Numeric data must conform to the definition of a decimal literal. (European-formatted numbers must have commas and dots swapped.)
If true, numeric and boolean data will be converted to their type instead of remaining strings. Numeric data must conform to the definition of a decimal literal. European-formatted numbers must have commas and dots swapped. If also accepts an object or a function. If object it's values should be a boolean to indicate if dynamic typing should be applied for each column number (or header name if using headers). If it's a function, it should return a boolean value for each field number (or name if using headers) which will be passed as first argument.
</td>
</tr>
<tr>

Loading…
Cancel
Save