def unreserved

bend-net-url@0.4.0.0 · url.bend:9

import bend-net-url@0.4.0.0/url.bend as Url
import Base

9def unreserved(+c: U32) -> Bool:
10  Bool.or(Bool.and(U32.is_le(65, c), U32.is_le(c, 90)), Bool.or(Bool.and(U32.is_le(97, c), U32.is_le(c, 122)), Bool.or(Bool.and(U32.is_le(48, c), U32.is_le(c, 57)), Bool.or(U32.is_eq(c, 45), Bool.or(U32.is_eq(c, 46), Bool.or(U32.is_eq(c, 95), U32.is_eq(c, 126)))))))

Uses (6)

Used by (2)