export const inArray = (stack: [any], needle: any) => { return stack.some(needle); };