@tsfp/identity
v0.0.1
Published
An identity function written in TypeScript.
Downloads
3
Maintainers
Readme
@tsfp/identity
An identity function written in TypeScript.
Installing
Using npm
npm install @tsfp/identity
Using yarn
yarn add @tsfp/identity
Usage
import identity from "@tsfp/identity";
const a = {};
identity(a) === a; // true
For more information see the API documentation.
Contributing
Contributions in the form of pull requests and bug reports are appreciated.
Running tests
Tests are ran using the test
npm script.
Using npm
npm test
Using yarn
yarn test