Skip to content

upperCase

Transform a string to UPPERCASE. This function is an alias of String.prototype.toUppercase().

Usage

js
import { upperCase } from '@studiometa/js-toolkit/utils';

upperCase('Some String Content'); // SOME STRING CONTENT

Params

  • string (string): The string to transform.

Return value

  • string: The transformed string.

MIT Licensed