Awesome
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