Don't export contains

This commit is contained in:
Daniel Imms
2018-01-25 11:09:20 -08:00
parent 2e23dd34e0
commit c12394a687
+1 -1
View File
@@ -24,6 +24,6 @@ export const isLinux = platform.indexOf('Linux') >= 0;
* @param {Array} array The array to search for the given element.
* @param {Object} el The element to look for into the array
*/
export function contains(arr: any[], el: any): boolean {
function contains(arr: any[], el: any): boolean {
return arr.indexOf(el) >= 0;
}