YamlNodePropertyAccessor.has

Check if requested property is present in component.

Check if requested property is present in component. The method could have allocation side effects due to the fact that it is not restricted in calling access method of the accessor.

class YamlNodePropertyAccessor
const nothrow
bool
has
(
in Node component
,
in string property
,
RCIAllocator allocator = theAllocator
)

Parameters

component Node

component which is supposed to have property

property string

speculated property that is to be tested if it is present in component

Return Value

Type: bool

true if property is in component

Meta