Skip to content

Commit

Permalink
impl: change_string_case
Browse files Browse the repository at this point in the history
  • Loading branch information
gnlow committed Dec 20, 2023
1 parent 1b9d3ca commit 50261b1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Entry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,12 @@ export class Entry {
reverse_of_string(str: string) {
return str.split("").reverse().join("")
}
change_string_case(
str: string,
type: "toUpperCase" | "toLowerCase",
) {
return str[type]()
}

/* 자료 */
get_variable(id: string) {
Expand Down

0 comments on commit 50261b1

Please sign in to comment.