Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Serialize

This module provides some functionality that comes in handy and is needed at places around in the system.

Index

Functions

toAbsolutePath

  • toAbsolutePath(value: string): string

toBoolean

  • toBoolean(value: number): boolean
  • Converts value 0 and 1 to boolean operands

    Parameters

    • value: number

      the value to convert to a boolean

    Returns boolean

toHour

  • toHour(value: DateTime): string
  • Converts incoming time to format HH:mm

    Parameters

    • value: DateTime

      the value to convert to HH:mm

    Returns string

toISO

  • toISO(value?: DateTime): undefined | string
  • Converts incoming value to ISO format

    Parameters

    • Optional value: DateTime

    Returns undefined | string

Generated using TypeDoc