Skip to main content
Module

x/denofun/identity.ts

Small utility library containing functions, monads and other fun stuff.
Latest
File
/** * **identity** returns the provided element, otherwise does nothing * @param x supplied element * @returns x supplied element */export default function identity<T>(x: T): T { return x;}