Servertec | containsKey( )

Content Introduction Release Notes Features FAQs Requirements Installation Change Log Future Plans Knowledge Base Reference Manual Conventions Scriptlets Data Types Constants Variables Procedures Operators Statements Objects Array Cookie Date Enumeration File FileDescriptor Hashtable Internet IO JDBC Number Object Properties Random Request Response SqlTypes Stack StreamTokenizer String StringBuffer StringTokenizer System Vector Wrappers Servlet Server Side Preprocessor Executable Samples Sales Legal Feedback |
Returns whether the given object is a key in the specified hashtable. #### Syntax containsKey( hashtable , key ) hashtable.containsKey( key ) #### Parameters
hashtable | the hashtable object to search.
key | the key object to search for.
#### Returns
boolean | true if the specified key was found false if the key was not found
#### Example
    if ht.contains( key ) then
        println( key.toString( ) + " was found" )
    end
top of page
| Copyright © 1997-1999 Servertec. All rights reserved. Last Modified: Tue Jan 26 22:19:03 EST 1999