mirror of
https://github.com/euzu/tuliprox.git
synced 2026-10-13 11:23:39 +02:00
feat: add media-server input foundations (#742)
* feat: add remote media input foundations * fixed macro variable names * Added todo comment for source editor sidebar
This commit is contained in:
@@ -22,6 +22,8 @@ pub fn is_blank_optional_string(s: &Option<String>) -> bool {
|
||||
s.as_ref().is_none_or(|s| s.chars().all(|c| c.is_whitespace()))
|
||||
}
|
||||
|
||||
pub fn is_non_blank_optional_string(s: &Option<String>) -> bool { !is_blank_optional_string(s) }
|
||||
|
||||
pub fn is_blank_optional_arc_str(s: &Option<Arc<str>>) -> bool {
|
||||
s.as_ref().is_none_or(|s| s.chars().all(|c| c.is_whitespace()))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user