Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ParseIntPipe

Defines the built-in ParseInt Pipe

see

Built-in Pipes

publicapi

Hierarchy

  • ParseIntPipe

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Protected exceptionFactory

exceptionFactory: (error: string) => any

Type declaration

    • (error: string): any
    • Parameters

      • error: string

      Returns any

Methods

transform

  • Method that accesses and performs optional transformation on argument for in-flight requests.

    Parameters

    • value: string

      currently processed route argument

    • metadata: ArgumentMetadata

      contains metadata about the currently processed route argument

    Returns Promise<number>

Generated using TypeDoc