Move software files one directory up, Readme

This commit is contained in:
2024-11-19 16:51:28 +01:00
parent 9fa2b753ec
commit b347df7c6e
329 changed files with 255 additions and 31 deletions

View File

@@ -0,0 +1,16 @@
/**
* Validates a string for undefined and length
*
* @param string String to prove
* @param length Minimal length of string
*
* @returns True if valid
*/
export function validateString(string: string, length: number = 0) : boolean {
if (string != undefined) {
if (string.length >= length)
return true
}
return false
}