Menu
Vx LogoVelocityXDocs
GitHub
๐ŸŒœ
๐ŸŒž
Vx LogoVelocityX
  • Docs
  • GitHub
  • Getting Started
    • Installation
    • Release Notes
  • Customization
    • Colors
  • Layout
    • Padding
    • Flex
    • Box
    • Card
    • List
    • Scroll
  • Typography
    • Text
  • Shapes
    • VxCircle
    • VxCapsule
    • VxEllipse
    • VxContinuousRectangle
    • VxBevel
    • VxTriangle
    • VxTicket
  • Responsive
    • Responsive Layout
  • SuperVx
    • VxSwiper
    • VxPlatform
    • VxToast
    • VxStepper
    • VxRating
  • Extensions
    • BuildContext Extensions
    • String Extensions
    • Bool Extensions
  • State Management
    • Getting Started
    • VxStore
    • VxMutation
    • VxInterceptor
    • VxEffects
    • VxState Widgets
  • Navigator 2.0
    • Getting Started

Bool Extensions

VelocityX gives you powerful extensions for Boolean.

Common Operations#

Toggle boolean value

toggle() returns bool

"{bool}".toggle()
Eg: "true".toggle()
Output: "false"
Edit this page
Previous
ยซ String Extensions
Next
Getting Started ยป
  • Common Operations

Docs

  • Getting Started

Community

  • Stack Overflow
  • Facebook
  • Twitter

More

  • GitHub
Copyright ยฉ 2021 MTechViral, Inc.