Array.isTemplateObject
Specification: proposal-array-is-template-object
Module
esnext.array.is-template-object
class Array {
static isTemplateObject(value: any): boolean
}
CommonJS entry points
core-js/proposals/array-is-template-object
core-js(-pure)/full/array/is-template-object
Example
console.log(Array.isTemplateObject((it => it)`qwe${ 123 }asd`)); // => true