public class DefinedTest extends NullTest
Inversion of 'null' test function to provide better compatibility with the original twig version and JTwig.
Constructor and Description |
---|
DefinedTest() |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(Object input,
Map<String,Object> args,
PebbleTemplate self,
EvaluationContext context,
int lineNumber) |
getArgumentNames
public boolean apply(Object input, Map<String,Object> args, PebbleTemplate self, EvaluationContext context, int lineNumber)
Copyright © 2018. All rights reserved.