Skip to content

ECS Framework API v2.2.13


ECS Framework API / isComponentArray

Function: isComponentArray()

isComponentArray(value): value is ComponentConstructor<IComponent>[]

Defined in: packages/core/src/Types/TypeHelpers.ts:249

类型安全的组件数组守卫

Parameters

value

any[]

Returns

value is ComponentConstructor<IComponent>[]

Released under the MIT License.