Version: 0.1.00.2.00.2.10.3.00.4.00.4.10.5.00.6.00.6.10.7.00.7.10.7.20.7.30.7.50.7.60.7.70.8.00.8.11.0.01.0.1
export function endsWith ( str: string, tail: string ): boolean {
return !tail.length || str.slice( -tail.length ) === tail;
}