def clean

bend-kit-redis@0.3.0.0 · redis.bend:129

import bend-kit-redis@0.3.0.0/redis.bend as Redis
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

129# A line has no CR and no LF.
130def clean(t: Bytes.Bytes) -> Bytes.Bytes & Bool:
131  clean.cr(Bytes.find(t, "\r"))

Uses (5)

Used by (1)