dojox/dtl/filter/logic (version 1.10)

Property Summary

Method Summary

  • default_(value,arg) If value is unavailable, use given default
  • default_if_none(value,arg) If value is null, use given default
  • divisibleby(value,arg) Returns true if the value is divisible by the argument"
  • yesno(value,arg) arg being a comma-delimited string, value of true/false/none chooses the appropriate item from the string

Properties

_yesno

Methods

default_(value,arg)

If value is unavailable, use given default

Parameter Type Description
value undefined
arg undefined
Returns:string
default_if_none(value,arg)

If value is null, use given default

Parameter Type Description
value undefined
arg undefined
Returns:string
divisibleby(value,arg)

Returns true if the value is divisible by the argument"

Parameter Type Description
value undefined
arg undefined
Returns:boolean
yesno(value,arg)

arg being a comma-delimited string, value of true/false/none chooses the appropriate item from the string

Parameter Type Description
value undefined
arg undefined
Returns:undefined
Error in the documentation? Can’t find what you are looking for? Let us know!