Upravit

Sdílet prostřednictvím


BooleanPrototype.valueOf(Object) Method

Definition

Returns the specified object as a BooleanObject or a Boolean.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 static System::Object ^ valueOf(System::Object ^ thisob);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Boolean_valueOf)]
public static object valueOf (object thisob);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Boolean_valueOf)>]
static member valueOf : obj -> obj
Public Shared Function valueOf (thisob As Object) As Object

Parameters

thisob
Object

The object that this method is acting upon.

Returns

thisob as a BooleanObject or a Boolean.

Attributes

Applies to

See also