| GenExtensionsSomeOfValuesT Method (T) |
A generator that picks a random number of elements from a list.
Namespace: FsCheckUtilsAssembly: FsCheckUtils (in FsCheckUtils.dll) Version: 1.0.1.0 (1.0.1.0)
Syntaxpublic static Gen<List<T>> SomeOfValues<T>(
params T[] l
)
Public Shared Function SomeOfValues(Of T) (
ParamArray l As T()
) As Gen(Of List(Of T))
public:
generic<typename T>
static Gen<List<T>^>^ SomeOfValues(
... array<T>^ l
)
static member SomeOfValues :
l : 'T[] -> Gen<List<'T>>
Parameters
- l
- Type: T
The list of elements to pick from.
Type Parameters
- T
- The type of the elements in the list.
Return Value
Type:
GenListTA generator that generates a random number of elements from a list.
See Also