3 lines
98 B
JavaScript
Raw Normal View History

2025-02-28 19:43:11 +08:00
export function createDataKey(key) {
return typeof key === 'string' ? `s-${key}` : `n-${key}`;
}