Home

Awesome

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.