We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c39858 commit d84a150Copy full SHA for d84a150
Source/Schema.NET/OneOrMany{T}.cs
@@ -273,6 +273,12 @@ public override int GetHashCode()
273
return 0;
274
}
275
276
+ /// <summary>
277
+ /// Checks whether the generic T item is a string that is either null or contains whitespace.
278
+ /// </summary>
279
+ /// <returns>
280
+ /// Returns true if the supplied item is a string that is null or contains whitespace.
281
+ /// </returns>
282
private static bool IsStringNullOrWhiteSpace(T item) => item.GetType() == typeof(string) && string.IsNullOrWhiteSpace(item as string);
283
284
0 commit comments