FixedWidthIntegerResolutionable
public protocol FixedWidthIntegerResolutionable
Resolutionable Allows Applying Resolution with Direction to Fixed Width Integers
-
Apply Resolution With Direction
Declaration
Swift
func resolution<T>(type: T.Type, _ direction: ResolutionDirection, resolution: Resolution) -> T where T : FixedWidthInteger
Parameters
type
Type to resolve to
direction
Resolution Direction
resolution
Resolution
Return Value
Number with Resolution Applied