Update API docs

This commit is contained in:
jellyfin-bot 2024-01-14 02:16:13 +00:00
parent b9634047e8
commit f7a3618af9
4 changed files with 26 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -301,6 +301,14 @@ function isValid(input as dynamic) as boolean
return input <> invalid
end function
' Returns whether or not all items in passed array are valid
function isAllValid(input as object) as boolean
for each item in input
if not isValid(item) then return false
end for
return true
end function
' Returns whether or not passed value is valid and not empty
' Accepts a string, or any countable type (arrays and lists)
function isValidAndNotEmpty(input as dynamic) as boolean