export function isLetter ( str ) { return str ?. match ( /[A-Z|a-z]/i ) || false ; } export interface Position { line : number ; column : number ; } export function mapPositionToString ( entity ) { return `[${ entity . line }:${ entity . column }]` ; } export function isNumeric ( str ) { return /^\d+$/ . test ( str ) ; }