boolean

Creator: coderz1093

Last updated:

0 purchases

boolean Image
boolean Images

Languages

Categories

Add to Cart

Description:

boolean

Utility functions to convert strings and numbers to bools.
Usage #
A simple usage example:
import 'package:boolean/boolean.dart';

void main() {
print('true'.asBool()); //true
print(1.asBool()); //true

print('abc'.asBool()); //false
print(0.asBool()); //false
}

copied to clipboard
Created from templates made available by Stagehand under a BSD-style
license.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.