export class Validators { public static isValidURL = ( url ) : boolean => { const okStarts = [ 'https://' , 'http://' ] ; for ( const start of okStarts ) { if ( url . startsWith ( start ) ) { return true ; } } return false ; } ; }