SensitiveInfoResult
public class SensitiveInfoResult : CustomStringConvertible, Codable
Result of an analysis by the SensitiveInfoAnalyser.
-
Declaration
Swift
public var description: String { get } -
Declaration
Swift
public func containsUkPostcode() -> BoolReturn Value
trueif the analysed text contains a UK postcode. -
Declaration
Swift
public func containsUkPhoneNumber() -> BoolReturn Value
trueif the analysed text contains a UK phone number. -
Declaration
Swift
public func containsEmailAddress() -> BoolReturn Value
trueif the analysed text contains an email address. -
Check if the analysed text contains the given SensitiveInfoMatch.
Declaration
Swift
public func contains(sensitiveInfo: SensitiveInfoMatch) -> BoolParameters
sensitiveInfoA SensitiveInfoMatch.
Return Value
trueif the analysed text contains the given SensitiveInfoMatch. -
Check if the analysed text contains all the given SensitiveInfoMatch.
Declaration
Swift
public func containsAll<S>(sensitiveInfo: S) -> Bool where S : Sequence, S.Element == SensitiveInfoMatchParameters
sensitiveInfoA Sequence of SensitiveInfoMatch.
Return Value
trueif the analysed text contains all the given SensitiveInfoMatch. -
Undocumented
Declaration
Swift
public func asArray() -> [SensitiveInfoMatch]
SensitiveInfoResult Class Reference