Skip to content

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

License

Notifications You must be signed in to change notification settings

schwarzkopfb/is-tagged

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published