as

Template specialization of the as() function for generating boolean values. This function will recognise "true", "1", "yes" and "on" as values that convert to a boolean true, with everything else converting to false.

  1. T as(string[string] properties, string name, T alternative = T.init)
  2. bool as(string[string] properties, string name, T alternative = T.init)
    bool
    as
    (
    T : bool
    )
    (
    string[string] properties
    ,
    string name
    ,
    T alternative = T.init
    )

Meta