HBMustacheCustomRenderable
public protocol HBMustacheCustomRenderable
Allow object to override standard hummingbird type rendering which uses
String(describing)
.
-
renderText
Default implementationCustom rendered version of object
Default Implementation
default version returning the standard rendering
Declaration
Swift
var renderText: String { get }
-
isNull
Default implementationWhether the object is a null object. Used when scoping sections
Default Implementation
default version returning false
Declaration
Swift
var isNull: Bool { get }