method PyObject.prototype.valueOfimport { PyObject } from "https://deno.land/x/python@0.3.1/src/python.ts"; valueOf()Tries to guess the value of the Python object. Only primitives are casted as JS value type, otherwise returns a proxy to Python object.