Float

@frozen
public extension Float
  • Returns Boolean that indicates if the value is negative.

    Declaration

    Swift

    var isNeg: Bool { get }
  • Returns Boolean that indicates if the value is positive.

    Declaration

    Swift

    var isPos: Bool { get }
  • Return a new CGFloat object with same value.

    Declaration

    Swift

    var cgfloat: CGFloat { get }
  • Return a new Float object with absolute value.

    Declaration

    Swift

    var absolute: Float { get }