Features

  • Change Variable Type
  • Check is Numeric
  • simply to Boolean result
  • Auto Permission Request

Getting started

Will add later...

Usage

TheFunc().isNumeric("034");

Declaration :
cvt = TheFunc();

Change Variable Type
cvt.changeAs(bool, '') //return false
cvt.changeAs(bool, 'TRUE'); //Return true
cvt.changeAs(String, 'One'); //Return 'One'
cvt.changeAs(int, '1'); //Return 1

Check As Boolean Return
cvt.keBoolean(''); //Return false
TheFunc().keBoolean(''); //Return false
TheFunc().keBoolean('0'); //Return false
TheFunc().keBoolean('false'); //Return false
TheFunc().keBoolean('False'); //Return false
TheFunc().keBoolean('True'); //Return true
TheFunc().keBoolean('true'); //Return true
TheFunc().keBoolean('1'); //Return true
});

Permission Handle And Asking Gui on Device
ThePermission().requestPermission("storage");

Additional information

This Package is just for simplifying.
welcome for contribute and support.