is-tagged

1.0.2 • Public • Published

view on npm npm module downloads per month Build Status Coverage Status

is-tagged

Check whether a function call is initiated by a tagged template string or invoked in a regular way

Installation

npm install --save is-tagged

Usage

const isTagged = require('is-tagged')
 
function fn() {
    return isTagged(arguments)
}
 
fn('foo') // false
fn`bar` // true

License

MIT license.

/is-tagged/

    Package Sidebar

    Install

    npm i is-tagged

    Weekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • schwarzkopfb