@gmjs/generic-functions
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

Generic function

This project contains a few simple generic functions.

Installation

npm install --save @gmjs/generic-functions

API

function emptyFn(): void;
function identityFn<T>(value: T): T;
function alwaysTruePredicate(): boolean;
function alwaysFalsePredicate(): boolean;

Readme

Keywords

none

Package Sidebar

Install

npm i @gmjs/generic-functions

Weekly Downloads

2

Version

0.0.1

License

MIT

Unpacked Size

5.65 kB

Total Files

10

Last publish

Collaborators

  • mrzli