Skip to content
MapSVG 8/Documentation

functionFromString()

function functionFromString(string): SyntaxError | TypeError;

Converts a string to a function.

ParameterTypeDescription
stringstring

SyntaxError | TypeError

Function or object {error: "error text"}