@yookue/ts-lang-utils
    Preparing search index...

    Function capitalizeFirst

    • Returns the first letter uppercase representation of the given string

      Parameters

      • Optionaltext: null | string

        the source string to check

      Returns undefined | null | string

      the first letter uppercase representation of the given string

      David Hsing

      capitalizeFirst('fooBar');    // 'FooBar'