function flatmapimport { flatmap } from "https://deno.land/x/libpkgx@v0.19/src/utils/misc.ts"; flatmap<S, T>(t: T | Falsy,body: (t: T) => S | Falsy,opts?: { rescue: boolean; },): S | undefinedflatmap<S, T>(t: Promise<T | Falsy>,body: (t: T) => Promise<S | Falsy>,opts?: { rescue: boolean; },): Promise<S | undefined>Type ParametersSTParameterst: T | Falsybody: (t: T) => S | Falsyoptionalopts: { rescue: boolean; }ReturnsS | undefinedType ParametersSTParameterst: Promise<T | Falsy>body: (t: T) => Promise<S | Falsy>optionalopts: { rescue: boolean; }ReturnsPromise<S | undefined>