UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

18 lines (15 loc) 328 B
'use client'; 'use strict'; function validateJson(value, deserialize) { if (typeof value === "string" && value.trim().length === 0) { return true; } try { deserialize(value); return true; } catch (e) { return false; } } exports.validateJson = validateJson; //# sourceMappingURL=validate-json.cjs.map