@resee-movies/utilities - v0.8.0
    Preparing search index...

    Function toInteger

    • Always returns an integer value, or NaN. If value is a number then it will be rounded down to the nearest whole number. If value is a string it will be parsed as an integer. All other arguments will result in NaN.

      Parameters

      • value: unknown

      Returns number