Options
All
  • Public
  • Public/Protected
  • All
Menu

limitTo is an utility namespace that encodes and decodes Plurk limitTo field format to and from array which looks like this: |1||2|.

Index

Functions

Functions

parse

  • parse(src: number[]): number[]
  • parse(src: string): number[] | undefined
  • Parameters

    • src: number[]

    Returns number[]

  • Parses the limitTo format to array

    Parameters

    • src: string

      Source string.

    Returns number[] | undefined

stringify

  • stringify(src: number[]): string
  • Converts array of Plurk IDs to limitTo format.

    Parameters

    • src: number[]

      Source array of Plurk IDs.

    Returns string

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc