Skip to content

Add more case functions #75

Description

@philshafer

upper-case(), lower-case() and maybe some fancier options in a simple: case() function:

var $x = “tHe eNd”;
case($x, “upper”) == “THE END”
case($x, “lower”) == “the end”
case($x, “cap”) == “The end”
case($x, “caps”) == “The End”
case($x, “camel”) == “theEnd”
case($x, “snake”) == “the_end”

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions