Inspector.has

Check if component has a field or a property.

interface Inspector(ComponentType, KeyType = string)
const nothrow
bool
has
(
ComponentType component
,
in KeyType property
)

Parameters

component ComponentType

component with fields

property KeyType

component property that is tested for existence

Return Value

Type: bool

true if field is present either in readonly, or writeonly form (has getters and setters).

Meta