PartProxy
LuaBaseIsTypeOf Method |
Ensure the object is of the expected type
Namespace: PartProxy
Assembly: PartProxy (in PartProxy.dll) Version: 1.0.0.0 (1.0.0.0)

protected static bool IsTypeOf( int stackidx, string typename )
Protected Shared Function IsTypeOf ( stackidx As Integer, typename As String ) As Boolean
protected: static bool IsTypeOf( int stackidx, String^ typename )
static member IsTypeOf : stackidx : int * typename : string -> bool
Parameters
- stackidx
- Type: SystemInt32
The stackidx. - typename
- Type: SystemString
The typename.
Return Value
Type: Booleantrue if [is type of] [the specified stackidx]; otherwise, false.

Exception | Condition |
---|---|
InvalidOperationException | Unable to get the lua object inner type. Object not registered. or Unable to get the lua object inner type. Object not correctly registered. |
