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

    Function fromTmdbImageSize

    • Takes a TMDB "size" value for movie poster, actor headshots, or whatever, and returns the integer value portion. For the "original" image size, the POSITIVE_INFINITY constant is returned (so that it is always largest when sorted against a list of other size values) by default, and for anything else undefined is returned.

      Parameters

      Returns undefined | number