HomePage HomePage
JW Davidson JW Davidson

RSS feed for the TestJwd namespace

Show Changes Show Changes
Edit Edit
Print Print
Recent Changes Recent Changes
Subscriptions Subscriptions
Lost and Found Lost and Found
Find References Find References
Local Search

History

9/14/2007 2:01:34 PM
-74.15.242.151
7/20/2007 10:27:34 PM
-10.10.192.236
List all versions List all versions
Object Demo
.

What information is available about an Object?

The Object type has the following members:

Object Equals(Object obj)
Determine whether this object is equal to another object
Object IfNotNull(Block block)
If this object is not null, answer the result of evaluating the block; else answer null
Object IfNotNullElse(Block notNullBlock, Block nullBlock)
If this object is not null, answer the result of evaluating the first block; else answer the result of evaluating the second block
Object IfNull(Block block)
If this object is null, answer the result of evaluating the block; else answer null
Object IfNullElse(Block nullBlock, Block notNullBlock)
If this object is null, answer the result of evaluating the first block; else answer the result of evaluating the second block
Object IsNull
Answer true if this object is null; else false
String ToString
Answer this object converted to a string
Type Type
Answer the Type of this object

Examples

IsNull

        null.IsNull
true

This obviously begs the question, is IsNull the only member which can be called on null? Everything else returns "Error evaluating expression: No such property or function: UndefinedObject.<MemberName>"

Is null a WikiTalkWellKnownObject?

        "".IsNull
false

Not logged in. Log in

The wiki for all things Objective Design Solutions

Recent Topics
ObjectDemo ObjectDemo
List all versions List all versions
Go to Google.com
Change Style
Powered by Flexwiki v2.0.0.218