ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
HostFunctions Class
HostFunctions Methods
isTypeObj Method
isTypeObj<T> Method
isTypeObj(Object) Method

# HostFunctionsisTypeObj(Object) Method

Determines whether an object is a host type. This version is invoked if the specified object cannot be used as a type argument.
Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public bool isTypeObj(
    	Object value
    )

    Public Function isTypeObj (
    	value As Object
    ) As Boolean

    public:
    bool isTypeObj(
    	Object^ value
    )

    member isTypeObj :
            value : Object -> bool

#### Parameters

value Object
  The object to test.

#### Return Value

Boolean
True if value is a host type, false otherwise.
Remarks
This function is overloaded with isTypeObjT and selected at runtime if value cannot be used as a type argument. Note that this applies to some host types; examples are static types and overloaded generic type groups.
See Also

#### Reference

HostFunctions Class
isTypeObj Overload
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft