UNPKG

repoweaver

Version:

A GitHub App that skillfully weaves multiple templates together to create and update repositories with intelligent merge strategies

1 lines 1.08 kB
{"ast":null,"code":"\"use strict\";\nexport function arrayStartsWith(array, start) {\n if (start.length > array.length) {\n return false;\n }\n return start.every((it, index) => it === array[index]);\n}","map":{"version":3,"names":["arrayStartsWith","array","start","length","every","it","index"],"sources":["/Users/pmouli/Documents/GitHub.nosync/boots-strapper/mobile/node_modules/@react-navigation/core/src/arrayStartsWith.tsx"],"sourcesContent":["/**\n * Compare two arrays to check if the first array starts with the second array.\n */\nexport function arrayStartsWith<T>(array: T[], start: T[]) {\n if (start.length > array.length) {\n return false;\n }\n\n return start.every((it, index) => it === array[index]);\n}\n"],"mappings":";AAGA,OAAO,SAASA,eAAeA,CAAIC,KAAU,EAAEC,KAAU,EAAE;EACzD,IAAIA,KAAK,CAACC,MAAM,GAAGF,KAAK,CAACE,MAAM,EAAE;IAC/B,OAAO,KAAK;EACd;EAEA,OAAOD,KAAK,CAACE,KAAK,CAAC,CAACC,EAAE,EAAEC,KAAK,KAAKD,EAAE,KAAKJ,KAAK,CAACK,KAAK,CAAC,CAAC;AACxD","ignoreList":[]},"metadata":{"hasCjsExports":false},"sourceType":"module","externalDependencies":[]}