Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RegExpMatchArray

Hierarchy

  • Array<string>
    • RegExpMatchArray

Indexable

[n: number]: string

Index

Properties

Array

Array: object

Type declaration

    • (arrayLength?: number): any[]
    • <T>(arrayLength: number): T[]
    • <T>(...items: T[]): T[]
    • Parameters

      • Optional arrayLength: number

      Returns any[]

    • Type parameters

      • T

      Parameters

      • arrayLength: number

      Returns T[]

    • Type parameters

      • T

      Parameters

      • Rest ...items: T[]

      Returns T[]

  • constructor: function
    • new __type(arrayLength?: number): any[]
    • new __type<T>(arrayLength: number): T[]
    • new __type<T>(...items: T[]): T[]
  • prototype: Array<any>
  • isArray: function
    • isArray(arg: any): boolean

Optional index

index: number

Optional input

input: string

length

length: number

Methods

concat

  • concat<U>(...items: U[]): string[]
  • concat(...items: string[]): string[]

every

  • every(callbackfn: function, thisArg?: any): boolean
  • Parameters

    • callbackfn: function
        • (value: string, index: number, array: string[]): boolean
        • Parameters

          • value: string
          • index: number
          • array: string[]

          Returns boolean

    • Optional thisArg: any

    Returns boolean

filter

  • filter(callbackfn: function, thisArg?: any): string[]
  • Parameters

    • callbackfn: function
        • (value: string, index: number, array: string[]): boolean
        • Parameters

          • value: string
          • index: number
          • array: string[]

          Returns boolean

    • Optional thisArg: any

    Returns string[]

forEach

  • forEach(callbackfn: function, thisArg?: any): void
  • Parameters

    • callbackfn: function
        • (value: string, index: number, array: string[]): void
        • Parameters

          • value: string
          • index: number
          • array: string[]

          Returns void

    • Optional thisArg: any

    Returns void

indexOf

  • indexOf(searchElement: string, fromIndex?: number): number

join

  • join(separator?: string): string

lastIndexOf

  • lastIndexOf(searchElement: string, fromIndex?: number): number

map

  • map<U>(callbackfn: function, thisArg?: any): U[]
  • Type parameters

    • U

    Parameters

    • callbackfn: function
        • (value: string, index: number, array: string[]): U
        • Parameters

          • value: string
          • index: number
          • array: string[]

          Returns U

    • Optional thisArg: any

    Returns U[]

pop

  • pop(): string

push

  • push(...items: string[]): number

reduce

  • reduce(callbackfn: function, initialValue?: string): string
  • reduce<U>(callbackfn: function, initialValue: U): U
  • Parameters

    • callbackfn: function
        • (previousValue: string, currentValue: string, currentIndex: number, array: string[]): string
        • Parameters

          • previousValue: string
          • currentValue: string
          • currentIndex: number
          • array: string[]

          Returns string

    • Optional initialValue: string

    Returns string

  • Type parameters

    • U

    Parameters

    • callbackfn: function
        • (previousValue: U, currentValue: string, currentIndex: number, array: string[]): U
        • Parameters

          • previousValue: U
          • currentValue: string
          • currentIndex: number
          • array: string[]

          Returns U

    • initialValue: U

    Returns U

reduceRight

  • reduceRight(callbackfn: function, initialValue?: string): string
  • reduceRight<U>(callbackfn: function, initialValue: U): U
  • Parameters

    • callbackfn: function
        • (previousValue: string, currentValue: string, currentIndex: number, array: string[]): string
        • Parameters

          • previousValue: string
          • currentValue: string
          • currentIndex: number
          • array: string[]

          Returns string

    • Optional initialValue: string

    Returns string

  • Type parameters

    • U

    Parameters

    • callbackfn: function
        • (previousValue: U, currentValue: string, currentIndex: number, array: string[]): U
        • Parameters

          • previousValue: U
          • currentValue: string
          • currentIndex: number
          • array: string[]

          Returns U

    • initialValue: U

    Returns U

reverse

  • reverse(): string[]

shift

  • shift(): string

slice

  • slice(start?: number, end?: number): string[]

some

  • some(callbackfn: function, thisArg?: any): boolean
  • Parameters

    • callbackfn: function
        • (value: string, index: number, array: string[]): boolean
        • Parameters

          • value: string
          • index: number
          • array: string[]

          Returns boolean

    • Optional thisArg: any

    Returns boolean

sort

  • sort(compareFn?: function): string[]
  • Parameters

    • Optional compareFn: function
        • (a: string, b: string): number
        • Parameters

          • a: string
          • b: string

          Returns number

    Returns string[]

splice

  • splice(start: number): string[]
  • splice(start: number, deleteCount: number, ...items: string[]): string[]

toLocaleString

  • toLocaleString(): string

toString

  • toString(): string

unshift

  • unshift(...items: string[]): number

Generated using TypeDoc