src/app/shared/pipes/upper-first.pipe.ts
Name | upperFirst |
transform | ||||||
transform(value: string)
|
||||||
Defined in src/app/shared/pipes/upper-first.pipe.ts:9
|
||||||
Parameters :
Returns :
string
|
import { Pipe, PipeTransform } from '@angular/core';
import * as _ from 'lodash';
@Pipe({
name: 'upperFirst'
})
export class UpperFirstPipe implements PipeTransform {
transform(value: string): string {
return _.upperFirst(value);
}
}