Hierarchy

  • StiValueHelper

Index

Methods

Static equalDecimal

  • equalDecimal(value1: any, value2: any): boolean
  • Parameters

    • value1: any
    • value2: any

    Returns boolean

Static isZero

  • isZero(value: any): boolean
  • Parameters

    • value: any

    Returns boolean

Static parseNumber

  • parseNumber(value: string): number
  • Parameters

    • value: string

    Returns number

Static tryToBool

  • tryToBool(value: any): boolean
  • Parameters

    • value: any

    Returns boolean

Static tryToDateTime

  • Parameters

    • value: any

    Returns DateTime

Static tryToGuid

  • tryToGuid(value: any): Guid
  • Parameters

    • value: any

    Returns Guid

Static tryToNullableDateOnly

  • tryToNullableDateOnly(value: any): DateOnly | null
  • Parameters

    • value: any

    Returns DateOnly | null

Static tryToNullableDateTime

  • tryToNullableDateTime(value: any): DateTime | null
  • Parameters

    • value: any

    Returns DateTime | null

Static tryToNullableNumber

  • tryToNullableNumber(value: any): number | null
  • Parameters

    • value: any

    Returns number | null

Static tryToNullableTimeOnly

  • tryToNullableTimeOnly(value: any): TimeOnly | null
  • Parameters

    • value: any

    Returns TimeOnly | null

Static tryToNullableTimeSpan

  • tryToNullableTimeSpan(value: any): TimeSpan | null
  • Parameters

    • value: any

    Returns TimeSpan | null

Static tryToNumber

  • tryToNumber(value: any): number
  • Parameters

    • value: any

    Returns number

Static tryToString

  • tryToString(value: any): string
  • Parameters

    • value: any

    Returns string

Static tryToTimeSpan

  • Parameters

    • value: any

    Returns TimeSpan

Generated using TypeDoc