Interface XFunctionOptions

interface XFunctionOptions {
    function?: string;
}

Properties

Properties

function?: string

Will apply a function on the X variable on each element of the array described as a string In front of sequence of lowercase we will add 'Math.'. This allows to write sin(x) + cos(x) and it will be replace internally by (x) => (Math.sin(x) + Math.cos(x))

Default

''