(value: string)
| 53 | } |
| 54 | |
| 55 | export function isBASE64Data(value: string): boolean { |
| 56 | return typeof value === "string" && /^data:/.test(value); |
| 57 | } |
| 58 | |
| 59 | export function extractBASE64DataFormat(value: string): string | null { |
| 60 | const match = value.trim().match(/^data:(.+);base64,/); |
no outgoing calls
no test coverage detected