TaggedInspector.has

Check if component has a field or a property.

class TaggedInspector(Tagged : TaggedAlgebraic!(Union), Type, Union)
const nothrow
bool
has
(
Tagged component
,
in string property
)
if (
anySatisfy!(ApplyRight!(isD, Type), Fields!Union)
)

Parameters

component Tagged

component with fields

property string

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