Infer a function signature from a MethodGuard.
MethodGuard
const mg = M.call(M.string(), M.nat()).returns(M.boolean());type Fn = TypeFromMethodGuard<typeof mg>;// (arg0: string, arg1: bigint) => boolean Copy
const mg = M.call(M.string(), M.nat()).returns(M.boolean());type Fn = TypeFromMethodGuard<typeof mg>;// (arg0: string, arg1: bigint) => boolean
Infer a function signature from a
MethodGuard.