| * {{#1711617514996.sys.query#}} => [sys, query] | * {{#1711617514996.sys.query#}} => [sys, query] | ||||
| */ | */ | ||||
| export const getInputVars = (text: string): ValueSelector[] => { | export const getInputVars = (text: string): ValueSelector[] => { | ||||
| if (!text) | |||||
| if (!text || typeof text !== 'string') | |||||
| return [] | return [] | ||||
| const allVars = text.match(/{{#([^#]*)#}}/g) | const allVars = text.match(/{{#([^#]*)#}}/g) |