File
Function takes a file and returns it as a base64 variant of the file.
Promise
Function returns the number value of the given key, if the key is not found the key is added and the current map size is set as value.
Map with string key and number value
string key
number of the given key.
Function returns the file type of the given file.
File
string file extension
Function verifies whether a given file extension is a supported image file type for the image compression. Supported types are jpeg, jpg and png.
Boolean
Function provides a save string split functionality. If the given string to split is undefined or null an empty string array is returned.
string to split
separator of the split
string []
Function creates an UUID string with 16 characters.
string
Generated using TypeDoc
Function loads a file from the given URL and returns it as a File.