1.0.0 • Published 6 years ago

@kingjs/func.return-arg-0 v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

@kingjs/func.return-arg-0

A function that returns the first argument.

Usage

Return the first argument like this:

var returnArg0 = require('@kingjs/func.return-arg-0');

returnArg0('Hello World!');

result:

'Hello World!'

API

declare function returnArg0(
  arg0: any
): any

Parameters

  • arg0: Any value.

Returns

Returns arg0.

Install

With npm installed, run

$ npm install @kingjs/func.return-arg-0

License

MIT

Analytics