AssociativeArrayInspector.has

Check if component has a field or a property.

class AssociativeArrayInspector(ValueType, KeyType = ValueType)
const nothrow
bool
has
(
ValueType[KeyType] component
,
in KeyType property
)

Parameters

component ValueType[KeyType]

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