Click or drag to resize
GenExtensionsSomeOfValuesT Method (T)
A generator that picks a random number of elements from a list.

Namespace: FsCheckUtils
Assembly: FsCheckUtils (in FsCheckUtils.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax
public static Gen<List<T>> SomeOfValues<T>(
	params T[] l
)

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: GenListT
A generator that generates a random number of elements from a list.
See Also