Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "assert/is-uppercase/docs/types/index.d"

Index

Functions

Functions

Export assignment isUppercase

  • isUppercase(value: any): boolean
  • Tests if a value is an uppercase string.

    Parameters

    • value: any

      value to test

    Returns boolean

    boolean indicating whether value is an uppercase string

    Example

    var bool = isUppercase( 'HELLO' );
    // returns true

    Example

    var bool = isUppercase( 'World' );
    // returns false

    Example

    var bool = isUppercase( '!' );
    // returns false

    Example

    var bool = isUppercase( 'salt and light' );
    // returns false