-
Notifications
You must be signed in to change notification settings - Fork 36
M_CodeJam_Collections_CollectionExtensions_IsNullOrEmpty__1_1
andrewvk edited this page Mar 22, 2016
·
8 revisions
[This is preliminary documentation and is subject to change.]
Indicates whether the specified array is null
or empty.
Namespace: CodeJam.Collections
Assembly: CodeJam (in CodeJam.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public static bool IsNullOrEmpty<T>(
this T[] array
)
VB
<ExtensionAttribute>
Public Shared Function IsNullOrEmpty(Of T) (
array As T()
) As Boolean
F#
[<ExtensionAttribute>]
static member IsNullOrEmpty :
array : 'T[] -> bool
- array
- Type: T[]
The collection to test for emptiness.
- T
- [Missing documentation for "M:CodeJam.Collections.CollectionExtensions.IsNullOrEmpty
1(
0[])"]
Type: Booleantrue
, if the array parameter is null
or empty; otherwise, false
.
In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
CollectionExtensions Class
IsNullOrEmpty Overload
CodeJam.Collections Namespace