This commit is contained in:
2023-12-19 14:31:41 +08:00
parent 9fe3a0be29
commit fa0afbfe18
+15
View File
@@ -28,6 +28,21 @@ interface Arrayable
}
if (!function_exists('json_validator')) {
/**
* @param string $data
* @return bool
*/
function json_validator(string $data): bool
{
return is_null(json_decode($data));
}
}
if (!function_exists('application')) {
/**