Fix code styled format

This commit is contained in:
2023-10-26 17:13:02 +07:00
parent b0703ffdd3
commit 22091d4994
2 changed files with 14 additions and 8 deletions
+2 -2
View File
@@ -4,9 +4,9 @@ const VALUE = 'value';
const ERROR = 'error';
const REQUIRED_FIELD_ERROR = 'This is required field';
function isBool(value: unknown) {
const isBool = (value: unknown) => {
return typeof value === 'boolean';
}
};
const isObject = (value: unknown) => {
return typeof value === 'object' && value !== null;