Skip to main content
Module

x/mixwithts/mod.ts>unwrap

TypeScript compatible version of Justin Fagani's mixin library for ES6
Latest
variable unwrap
import { unwrap } from "https://deno.land/x/mixwithts@1.1.2/mod.ts";

Unwraps the function wrapper to return the original function wrapped by one or more calls to wrap. Returns wrapper if it's not a wrapped function.

type

<T>(wrapper: T) => T