UNPKG

236 BJavaScriptView Raw
1'use strict';
2
3/**
4 * Check whether a string has less interpolation
5 *
6 * @param {string} string
7 * @return {boolean} If `true`, a string has less interpolation
8 */
9module.exports = function (string) {
10 return /@{.+?}/.test(string);
11};