parent
8a64ee580f
commit
a2dd0f31c5
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ export const toUpperCase = <T extends string>(name: T) =>
|
|||
const isAttributesObject = (value: any) => {
|
||||
return (
|
||||
Object.values(value).filter(
|
||||
(value) => Array.isArray(value) && value.length === 1,
|
||||
(value) => Array.isArray(value) && value.length >= 1,
|
||||
).length !== 0
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue