|
The Boolean object creates a new Boolean value.
See JScript Object methods and properties.
var variablename = new Boolean(boolvalue)
boolvalue
The initital Boolean value for the new object. If this value is omitted, or is False, 0, Null, NaN, or an empty string, the initial value of the Boolean object is False. Otherwise, the initial value is True. Optional.
The Boolean object is a wrapper for the Boolean data type. JScript implicitly uses the Boolean object whenever a Boolean data type is converted to a Boolean object.
You rarely call the Boolean object explicitly.
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.