Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "lib/utils"

Index

Functions

Functions

getFullYear

  • getFullYear(year: string): string
  • Calculates full year for a given two-digit format year

    Parameters

    • year: string

      A string representing two-digit format year

    Returns string

    Full year

isDate

  • isDate(str: string): boolean
  • Verifies that given NIT format birthdate is valid

    Parameters

    • str: string

      A string representing NIT format birthdate

    Returns boolean

    Validity of the given birthdate

Generated using TypeDoc