Dictionary

extension Dictionary: HBMustacheTransformable
extension Dictionary: HBMustacheParent where Key == String
extension Dictionary: HBComparableSequence where Key: Comparable
  • Transform Dictionary

    Transforms available are count, enumerated and for dictionaries with comparable keys sorted.

    Declaration

    Swift

    public func transform(_ name: String) -> Any?

    Parameters

    name

    transform name

    Return Value

    Result

Available where Key == String

  • Undocumented

    Declaration

    Swift

    public func child(named: String) -> Any?

Available where Key: Comparable