{"ast":null,"code":"/**\n * Check if `a` is one of `[...b]`\n */\nexport function isOneOf(a, b) {\n  if (b === void 0) {\n    b = [];\n  }\n  return b.some(function (v) {\n    return a === v;\n  });\n}","map":{"version":3,"names":["isOneOf","a","b","some","v"],"sources":["C:\\Users\\user\\Desktop\\000newport\\node_modules\\smooth-scrollbar\\src\\utils\\is-one-of.ts"],"sourcesContent":["/**\n * Check if `a` is one of `[...b]`\n */\nexport function isOneOf(a: any, b: any[] = []): boolean {\n  return b.some(v => a === v);\n}\n"],"mappings":"AAAA;;;AAGA,OAAM,SAAUA,OAAOA,CAACC,CAAM,EAAEC,CAAa;EAAb,IAAAA,CAAA;IAAAA,CAAA,KAAa;EAAA;EAC3C,OAAOA,CAAC,CAACC,IAAI,CAAC,UAAAC,CAAC;IAAI,OAAAH,CAAC,KAAKG,CAAC;EAAP,CAAO,CAAC;AAC7B"},"metadata":{},"sourceType":"module","externalDependencies":[]}