export const isArray = arr =>
  typeof arr === 'object' &&
  typeof arr.length === 'number';

export const isWhitespaceChar = char =>
  /\s/.test(char);

export const isSymbolChar = char =>
  /[A-Za-z0-9_\-\$]/.test(char);

@@ -201,16 +201,20 @@
 0-9_%5C-%5C$
++%5C/*
 %5D/.test(

math characters need to be valid symbols. in this context symbol characters aren't just variable characters but also valid javascript tokens