Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 340 Bytes

upcase.md

File metadata and controls

35 lines (25 loc) · 340 Bytes

str.upcase

Converts the input string to uppercase.

str.upcase: String -> String

This lens converts its input to the same string but in upper case.

Example

Applying the following lens:

---
array.map:
  lenses:
  - str.upcase

to the following input:

---
- foo

will return:

---
- FOO