Skip to content

Kebab/Keyword drops question marks (?) #92

@tlingard

Description

@tlingard

Ran into this while converting boolean type attributes to Clojure kebab-keywords.

Examples:

(require '[cuerdas.core :as str])


(str/kebab "got_milk?") 
; => "got-milk"

(str/kebab :got_milk?) 
; => "got-milk"

(str/keyword "got_milk?") 
; => :got-milk

(str/keyword :got_milk?) 
; => :got-milk


;; clojure keyword
(keyword "got_milk?") 
; => :got_milk?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions