Skip to content

M_CodeJam_Ranges_RangeBoundaryFrom_1_IsValid

Andrew Koryavchenko edited this page Jun 17, 2018 · 3 revisions

RangeBoundaryFrom(T).IsValid Method

Infrastructure helper method to check if the value can be used as the value of the boundary.

Namespace: CodeJam.Ranges
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static bool IsValid(
	T value
)

VB

<EditorBrowsableAttribute(EditorBrowsableState.Never)>
Public Shared Function IsValid ( 
	value As T
) As Boolean

F#

[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
static member IsValid : 
        value : 'T -> bool 

Parameters

 

value
Type: T
The value to check.

Return Value

Type: Boolean
true if it is safe to pass the value as a boundary constructor parameter.

See Also

Reference

RangeBoundaryFrom(T) Structure
CodeJam.Ranges Namespace

Clone this wiki locally