com.google.clearsilver.jsilver.functions.structure
Class FirstFunction
java.lang.Object
com.google.clearsilver.jsilver.functions.NonEscapingFunction
com.google.clearsilver.jsilver.functions.structure.FirstFunction
- All Implemented Interfaces:
- Function
public class FirstFunction
- extends NonEscapingFunction
Returns true if the local variable is the first in a loop or each.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FirstFunction
public FirstFunction()
execute
public Value execute(Value... args)
- Description copied from interface:
Function
- Execute a function. Should always return a result.
- Parameters:
args
- A local variable.
- Returns:
- Boolean value.
Copyright © 2010-2012 Google. All Rights Reserved.