astro-ghostcms/.pnpm-store/v3/files/da/a76ead3120b62f7ccaf53a3f4c6...

11 lines
262 B
Plaintext

'use strict';
function getSVGViewBox(value) {
const result = value.trim().split(/\s+/).map(Number);
if (result.length === 4 && result.reduce((prev, value2) => prev && !isNaN(value2), true)) {
return result;
}
}
exports.getSVGViewBox = getSVGViewBox;