@kingjs/func.return-arg-0

A function that returns the first argument.

Stats

StarsIssuesVersionUpdatedCreatedSize
@kingjs/func.return-arg-0
051.0.03 years ago3 years agoMinified + gzip package size for @kingjs/func.return-arg-0 in KB

Readme

@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

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.