scala - Is the method name "is" of "RequestVar" a short name of some other words? -


in lift web framework, requestvar has method is:

def is: t  current value of variable 

i wonder why method name is? short name of other words? if word is, expect return boolean values, return value holds.

i'd is supposed answer question "what is current value of variable?".

it not make sense test existence, requestvars (and sessionsvars matter) are always. if confuses you, use get ;)


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -