generated from mwc/lab_encoding
k
This commit is contained in:
5
venv/lib/python3.12/site-packages/easybits/util.py
Normal file
5
venv/lib/python3.12/site-packages/easybits/util.py
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
def is_bit_string(value):
|
||||
bit_chars = {'1', '0', ' '}
|
||||
return value.strip() and not (set(value) - bit_chars)
|
||||
|
||||
Reference in New Issue
Block a user