CompiledHandlebars.Compiler.CodeGeneration.CompilationState.PromiseTruthyCheck C# (CSharp) Method

PromiseTruthyCheck() private method

private PromiseTruthyCheck ( Context contextToCheck, IfType ifType = IfType.If ) : void
contextToCheck CompiledHandlebars.Compiler.Introspection.Context
ifType IfType
return void
    internal void PromiseTruthyCheck(Context contextToCheck, IfType ifType = IfType.If)
    {
      contextToCheck.Truthy = ifType == IfType.If;
      TruthyStack.Push(contextToCheck);
    }