(value: any)
| 714 | return /^-?\d*\.?\d+$/.test(`${value}`) |
| 715 | }, |
| 716 | isValidURL(value: any) { |
| 717 | const regex = /^(https?|ftp):\/\/[^\s/$.?#].[^\s]*$/i |
| 718 | return regex.test(value) |
| 719 | }, |
| 720 | loadScriptPromise(url: string) { |
| 721 | return new Promise((resolve) => { |
| 722 | const cb = function () { |
nothing calls this directly
no test coverage detected
searching dependent graphs…