PromoCursed/node_modules/.cache/babel-loader/0366fad544283c0d22690f7a9aaa181eb7e7835d3753f1b7528ae29f955629e1.json
2024-08-20 23:25:37 +04:00

1 line
1.1 KiB
JSON

{"ast":null,"code":"export function toArray(value) {\n if (value === undefined || value === null) {\n return [];\n }\n return Array.isArray(value) ? value : [value];\n}\nexport function isFormInstance(form) {\n return form && !!form._init;\n}","map":{"version":3,"names":["toArray","value","undefined","Array","isArray","isFormInstance","form","_init"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/rc-field-form/es/utils/typeUtil.js"],"sourcesContent":["export function toArray(value) {\n if (value === undefined || value === null) {\n return [];\n }\n return Array.isArray(value) ? value : [value];\n}\nexport function isFormInstance(form) {\n return form && !!form._init;\n}"],"mappings":"AAAA,OAAO,SAASA,OAAOA,CAACC,KAAK,EAAE;EAC7B,IAAIA,KAAK,KAAKC,SAAS,IAAID,KAAK,KAAK,IAAI,EAAE;IACzC,OAAO,EAAE;EACX;EACA,OAAOE,KAAK,CAACC,OAAO,CAACH,KAAK,CAAC,GAAGA,KAAK,GAAG,CAACA,KAAK,CAAC;AAC/C;AACA,OAAO,SAASI,cAAcA,CAACC,IAAI,EAAE;EACnC,OAAOA,IAAI,IAAI,CAAC,CAACA,IAAI,CAACC,KAAK;AAC7B","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}