RuntimeInspector.has

Check if component has a field or a property.

class RuntimeInspector(Type, KeyType = string)
const nothrow
bool
has
(
Object wrapped
,
in KeyType property
)

Parameters

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