npm.io
1.1.1 • Published 10 years ago

@f/identity

Licence
MIT
Version
1.1.1
Deps
0
Vulns
0
Weekly
0

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