Skip to main content

Function: LowerCase()

LowerCase(): typeof LowerCasePipeStep

A decorator for applying the LowerCasePipeStep to a method parameter. It uses the Pipe decorator to define a pipe step that converts the parameter value to lowercase. This allows the decorated method parameter to receive a lowercase version of the input string, enabling consistent formatting and processing of string values.

Returns​

typeof LowerCasePipeStep

A pipe decorator that applies the LowerCasePipeStep.