function foldimport { fold } from "https://deno.land/x/fun@v2.0.0/tree.ts"; fold<A, O>(foao: (o: O, a: A) => O, o: O): (ta: Tree<A>) => OThe fold function for Foldable. Type ParametersAOParametersfoao: (o: O, a: A) => Oo: OReturns(ta: Tree<A>) => O