Type Definitions
typeConv2DArrayToObjOptions
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
beginRow |
number |
<optional> |
1
|
beginRow is convert to the property names |
beginColumn |
number |
<optional> |
1
|
|
endRow |
number |
<optional> |
arrays.length
|
|
endColumn |
number |
<optional> |
arrays[beginRow].length
|
|
autoParse |
boolean |
<optional> |
false
|
@TODO Parse Number, Date |
Options Schema of Wsh.Util.conv2DArrayToObj
Type:
- object
typeParseCsvTo2DArrayOptions
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
delimiter |
string |
<optional> |
","
|
If parse the TSV. Specify '\t'. |
lineEnding |
string |
<optional> |
"\r\n"
|
The character of line-ending. |
addsEmptyRow |
boolean |
<optional> |
false
|
Ignores empty lines or not. |
Options Schema of Wsh.Util.parseCsvTo2DArray
Type:
- object
typeStringify2DArrayToCsvOptions
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
delimiter |
string |
<optional> |
","
|
The Splitting Character |
lineEnding |
string |
<optional> |
"\r\n"
|
The LineBreak Character |
escapesExcelFunc |
string |
<optional> |
false
|
Options Schema of Wsh.Util.stringify2DArrayToCsv
Type:
- object