(s: string)
| 21 | import { isEmpty } from "./validate"; |
| 22 | |
| 23 | export const hasVariableFormat = (s: string) => { |
| 24 | return isEmpty(s) ? false : s.includes("${") |
| 25 | } |
| 26 | |
| 27 | // replace ${xxx} format with corresponding variable |
| 28 | // extraVars: datav preserved variables, such as __curentValue__ |
no test coverage detected