Array.isTemplateObject
小于 1 分钟
Array.isTemplateObject
模块
esnext.array.is-template-object
类型
interface ArrayConstructor {
isTemplateObject(value: any): boolean;
}
入口点
core-js/proposals/array-is-template-object
core-js(-pure)/full/array/is-template-object
示例
console.log(Array.isTemplateObject(((it) => it)`qwe${123}asd`)); // => true