Interpolates supported template variables in a string value.
Template string containing supported placeholders
Values used for interpolation
Interpolated string
interpolateTemplate('/ai-sync/${syncId}', { syncId: 'mac', hostname: 'host', username: 'u', profile: 'default', date: '2026-04-03', time: '2026-04-03T11:00:00' }); Copy
interpolateTemplate('/ai-sync/${syncId}', { syncId: 'mac', hostname: 'host', username: 'u', profile: 'default', date: '2026-04-03', time: '2026-04-03T11:00:00' });
0.1.0
Interpolates supported template variables in a string value.