Function parseToValidNumber

  • Fallback, try to make a numeric representation of a non-standard input Arrays, Strings or objects use length.

    Worst case, this allows for graceful failure and allows the algo to continue if invalid data is provided.

    Returns

    number

    Type Parameters

    • T

    Parameters

    • x: T

    Returns number

Generated using TypeDoc