Basic usage

Convert all keys in an object to upper case.

import { upperize } from 'radash'

const ra = {
  Mode: 'god',
  Power: 'sun'
}

upperize(ra) // => { MODE, POWER }

The _.upperize function is a shortcut for _.mapKeys(obj, k => k.toUpperCase())

Testing

This _.upperize function is 100% covered by tests. See them and contribute at GitHub.

Source

See the source for _.upperize on GitHub.