Type Aliases
The following type aliases are available globally.
-
Underlying function signature for validators that can transform the validated subject type
Declaration
Swift
public typealias ValidationT<S, T> = (S) -> Result<T, ValidationErrors>
-
Underlying function signature for validators
Declaration
Swift
public typealias Validation<S> = (S) -> Result<S, ValidationErrors>
-
Function signature for predicates on validated subject types
Declaration
Swift
public typealias Predicate<S> = (S) -> Bool
-
Undocumented
Declaration
Swift
public typealias Validator<S> = ValidatorT<S, S>