@f/identity

The identity function.

Stats

StarsIssuesVersionUpdatedCreatedSize
@f/identity
001.1.16 years ago6 years agoMinified + gzip package size for @f/identity in KB

Readme

identity

Build status Git tag NPM version Code style

The identity function.

Installation

$ npm install @f/identity

Usage

var identity = require('@f/identity')

identity(1) // => 1
identity({}) // => {}

API

identity(val)

  • val - any value

Returns: val

License

MIT

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.