I'm trying to get one function to return 2 type different values to JavaScript with embind. A string or a number, does anyone have any example code?
I'm trying to get one function to return 2 type different values to JavaScript with embind. A string or a number, does anyone have any example code?