Is the method name “is” of “RequestVar” a short name of some other words?

In lift web framework, the RequestVar has a method is:

def is: T

The current value of the variable

I wonder why the method name is is? Is it a short name of some other words? If it is the word is, I would expect it to return some boolean values, but it will return the value it holds.

Answers


I'd say is is supposed to answer the question "What is the current value of the variable?".

It does not make sense to test for existence, as RequestVars (and SessionsVars for that matter) are always. If it confuses you, just use get ;)


Need Your Help

Could not get the ReportViewer dll's in GAC

reporting-services reportviewer report-viewer2010

I am trying to load ReportViewer dll's into the GAC. I downloaded the ReportViewer.exe from Microsoft's download website, Unblocked it and ran it as administrator. The installation of package was

how to use sed from a tcl file

unix sed exec tcl

I'm trying to use the Unix "sed" command form within a tcl file, like this:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.