A newer version of the Gradio SDK is available: 5.23.3
5.23.3
Function.identity
Returns input argument.
const identity = require("ext/function/identity"); identity("foo"); // "foo"