@nevware21/ts-utils
    Preparing search index...

    Function getIntValue

    • Helper to obtain the integer value using base 10 conversion from a string, also handles null, undefined and Nan cases which will all return the default value.

      Parameters

      • Optionalvalue: string | number

        The string or numeric value to get the integer value from

      • OptionaldefValue: number

        The default value if unsuccessful

      Returns number

      The default or parsed value.