Bewerken

Delen via


Typeof.JScriptTypeof(Object) Method

Definition

Determines the data type of the specified object.

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

public:
 static System::String ^ JScriptTypeof(System::Object ^ value);
public static string JScriptTypeof (object value);
static member JScriptTypeof : obj -> string
Public Shared Function JScriptTypeof (value As Object) As String

Parameters

value
Object

The object to determine the type of.

Returns

The type of value.

Remarks

The return value can be one of the following string literals:

  • boolean

  • date

  • function

  • number

  • object

  • string

  • undefined

  • unknown

Applies to