menu
get package
documentation
get_utils/src/get_utils/get_utils.dart
GetUtils
isBinary static method
isBinary static method
dark_mode
light_mode
isBinary
static method
bool
isBinary
(
String
s
)
Checks if string is binary.
Implementation
static bool isBinary(String s) => hasMatch(s, r'^[0-1]+$');
get package
documentation
get_utils/src/get_utils/get_utils
GetUtils
isBinary static method
GetUtils class