Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "util/temporal"

Index

Functions

Functions

stripMilliseconds

  • stripMilliseconds<P, R>(momentInstance: P): R
  • Type parameters

    • P: Moment | null | undefined

    • R

    Parameters

    • momentInstance: P

    Returns R

    a clone of provided Moment instance with milliseconds set to zero, or undefined if a nullish value was provided.

Generated using TypeDoc