deserializeVector

Parses a parameter string to a ref_Vector type.

Signatures

  •   Paramate.Configurator.deserializeVector( str )

Example

 const vector = Paramate.Configurator.deserializeVector('<[1,3,5]>');
 console.log(vector);
 

Output

 Array(3) [ 1, 3, 5 ]
 

Parameters

str

String that must contain the string representation of a paramate vector. That means, it should start with an initial substring '<[', followed by three comma separated numbers, followed by a subsequent substring ']>'.

Return value

A data type ref_Vector containing the value content of str or 'undefined' if the parsing was not successful.

See also