Don't export contains
This commit is contained in:
@@ -24,6 +24,6 @@ export const isLinux = platform.indexOf('Linux') >= 0;
|
|||||||
* @param {Array} array The array to search for the given element.
|
* @param {Array} array The array to search for the given element.
|
||||||
* @param {Object} el The element to look for into the array
|
* @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;
|
return arr.indexOf(el) >= 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user