MCPcopy Create free account
hub / github.com/FLC777/GLAT / valid

Function valid

scripts/spm_encode.py:65–68  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

63 if args.min_len is not None or args.max_len is not None:
64
65 def valid(line):
66 return (args.min_len is None or len(line) >= args.min_len) and (
67 args.max_len is None or len(line) <= args.max_len
68 )
69
70 else:
71

Callers 1

encode_lineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected