d0d19bf268f6aa14052cc84ddee5e538.json 793 Bytes
{"ast":null,"code":"export function toArray(value) {\n  if (value === undefined || value === null) {\n    return [];\n  }\n\n  return Array.isArray(value) ? value : [value];\n}","map":{"version":3,"sources":["C:/Users/kkwan_000/Desktop/git/2017110269/minsung/node_modules/rc-field-form/es/utils/typeUtil.js"],"names":["toArray","value","undefined","Array","isArray"],"mappings":"AAAA,OAAO,SAASA,OAAT,CAAiBC,KAAjB,EAAwB;AAC7B,MAAIA,KAAK,KAAKC,SAAV,IAAuBD,KAAK,KAAK,IAArC,EAA2C;AACzC,WAAO,EAAP;AACD;;AAED,SAAOE,KAAK,CAACC,OAAN,CAAcH,KAAd,IAAuBA,KAAvB,GAA+B,CAACA,KAAD,CAAtC;AACD","sourcesContent":["export function toArray(value) {\n  if (value === undefined || value === null) {\n    return [];\n  }\n\n  return Array.isArray(value) ? value : [value];\n}"]},"metadata":{},"sourceType":"module"}