@kingjs/func.return-arg-0

1.0.0 • Public • Published

@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

Readme

Keywords

none

Package Sidebar

Install

npm i @kingjs/func.return-arg-0

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

2.24 kB

Total Files

4

Last publish

Collaborators

  • kingces95