feature: vor und nachteile

This commit is contained in:
Hikyu
2026-05-31 13:54:31 +02:00
parent 552a947a1c
commit e3dad17446
23270 changed files with 3024794 additions and 200 deletions
+8
View File
@@ -0,0 +1,8 @@
/**
* Get viewBox from string
*/
function getSVGViewBox(value) {
const result = value.trim().split(/\s+/).map(Number);
if (result.length === 4 && result.reduce((prev, value) => prev && !isNaN(value), true)) return result;
}
export { getSVGViewBox };