JSObject.GetTypeOfProperty(String) Method

Definition

Returns typeof() of the property.

public:
 System::String ^ GetTypeOfProperty(System::String ^ propertyName);
public string GetTypeOfProperty (string propertyName);
member this.GetTypeOfProperty : string -> string
Public Function GetTypeOfProperty (propertyName As String) As String

Parameters

propertyName
String

The name of the property.

Returns

One of "undefined", "object", "boolean", "number", "bigint", "string", "symbol" or "function".

Applies to