callSideEffectLevel

Determine if the call of f, or function type or delegate type t1, has any side effects.

  1. int callSideEffectLevel(FuncDeclaration f)
    int
    callSideEffectLevel
  2. int callSideEffectLevel(Type t)

Return Value

Type: int

0 has any side effects 1 nothrow + constant purity 2 nothrow + strong purity

Meta