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

# HostFunctionsisTypeObj T Method

Determines whether an object is a host type. This version is invoked if the specified object can 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<T>()

    Public Function isTypeObj(Of T) As Boolean

    public:
    generic<typename T>
    bool isTypeObj()

    member isTypeObj : unit -> bool

#### Type Parameters

T
  The host type (ignored).

#### Return Value

Boolean
True.
Remarks
This function is overloaded with isTypeObj(Object) and selected at runtime if T can be used as a type argument. Because type arguments are always host types, this method ignores its type argument and always returns true.
See Also

#### Reference

HostFunctions Class
isTypeObj Overload
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft