is-tagged
v1.0.2
Published
Check whether a function call is initiated by a tagged template string or invoked in a regular way
Maintainers
Readme
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-taggedUsage
const isTagged = require('is-tagged')
function fn() {
return isTagged(arguments)
}
fn('foo') // false
fn`bar` // true