-
Notifications
You must be signed in to change notification settings - Fork 36
M_CodeJam_Arithmetic_OperatorsFactory_IsAnyFlagSetOperator__1
Andrew Koryavchenko edited this page Jun 17, 2018
·
3 revisions
Emits code for (flag == 0) || ((value & flag) != 0) check.
Namespace: CodeJam.Arithmetic
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static Func<T, T, bool> IsAnyFlagSetOperator<T>()
VB
Public Shared Function IsAnyFlagSetOperator(Of T) As Func(Of T, T, Boolean)
F#
static member IsAnyFlagSetOperator : unit -> Func<'T, 'T, bool>
- T
- The type of the operands
Type: Func(T, T, Boolean)
Callback for (flag == 0) || ((value & flag) != 0) check