Extension

CustomStringConvertible

extension CustomStringConvertible

Instance Properties

var slugified: String { get }

Returns a slugified version of the String: only letters, numbers, dash and underscore are allowed; everything else is replaced with a dash. The returned string is lowercased.