YamlInspector.typeOf

Identify the type of child field of component.

  1. TypeInfo typeOf(Node component, string property)
    class YamlInspector
    const nothrow
    TypeInfo
    typeOf
    (,
    in string property
    )
  2. TypeInfo typeOf(Node component)

Parameters

component Node

a composite component (class, struct, assoc array etc.) containing some fields

Return Value

Type: TypeInfo

Type of field, or typeid(void) if field is not present in component

Meta