mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Add nullable context to SabreTools.Core
This commit is contained in:
@@ -353,10 +353,8 @@ namespace SabreTools.Filter
|
||||
|
||||
return value.ToLowerInvariant() switch
|
||||
{
|
||||
"true" => true,
|
||||
"yes" => true,
|
||||
"false" => false,
|
||||
"no" => false,
|
||||
"true" or "yes" => true,
|
||||
"false" or "no" => false,
|
||||
_ => null,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user