def ext_of2

cswap-bend-cli@0.1.0.0 · setimp.bend:37

import cswap-bend-cli@0.1.0.0/setimp.bend as Setimp
import Base

37def ext_of2(ps: List<&2, String>) -> String:
38  match ps:
39    case Con{h, Con{h2, t}}:
40      String.to_lower(last_part(Con{h2, t}))
41    case _:
42      ""

Uses (4)

Used by (1)