Skip to content

entityClassHasTrait

entityClassHasTrait<T>(target, token): boolean

Defined in: Trait.ts:50

Check whether an entity class declares or inherits a trait.

T

EntityClass

TraitToken<T>

boolean

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/core.md.