Skip to content

Richienb/reflect-provided

Repository files navigation

Reflect provided Travis CI Build Status

Reflect the provided arguments.

NPM Badge

Install

npm install reflect-provided

Usage

const reflectProvided = require("reflect-provided");

reflectProvided("Hello World!");
//=> "Hello World!"

reflectProvided("Hello World!", "A second argument");
//=> ["Hello World!", "A second argument"]

API

reflectProvided(...args)

spread args

Type: any

The arguments to reflect.