Skip to content

ECS Framework API v2.1.50


ECS Framework API / TypeUtils

Class: TypeUtils

Defined in: Utils/Extensions/TypeUtils.ts:5

类型工具类 提供类型相关的实用方法

Constructors

Constructor

new TypeUtils(): TypeUtils

Returns

TypeUtils

Methods

getType()

static getType(obj): any

Defined in: Utils/Extensions/TypeUtils.ts:11

获取对象的类型

Parameters

obj

any

对象

Returns

any

对象的构造函数

Released under the MIT License.