export function containsSpaces(str: string): boolean { return Boolean(str.match(/\s/g)); }