'use strict'; export class MathFunctions{ /** * Check if the string a base64 string * @param value * @return {boolean} * @private */ public isBase64 = (value: string) => { var base64regex = /^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/; return base64regex.test(value); }; }