-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_Collections_CollectionExtensions_NotNullNorEmpty__1_1
Andrew Koryavchenko edited this page Jun 17, 2018
·
8 revisions
Indicates whether the specified array is is not null nor empty.
Namespace: CodeJam.Collections
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static bool NotNullNorEmpty<T>(
this T[] array
)
VB
<ExtensionAttribute>
Public Shared Function NotNullNorEmpty(Of T) (
array As T()
) As Boolean
F#
[<ExtensionAttribute>]
static member NotNullNorEmpty :
array : 'T[] -> bool
- array
- Type: T[]
The collection to test.
- T
- [Missing documentation for "M:CodeJam.Collections.CollectionExtensions.NotNullNorEmpty
1(
0[])"]
Type: Booleantrue
, if the array parameter is not null nor 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
NotNullNorEmpty Overload
CodeJam.Collections Namespace