Agama Installer
    Preparing search index...

    Function splitSize

    • Convenience method for generating a size object based on given input

      It split given input when a string is given or the result of converting the input otherwise. Note, however, that -1 number will treated as empty string since it means nothing for Agama UI although it represents the "unlimited" size in the backend.

      Parameters

      • size: string | number
      • Optionaloptions: SizeOptions

      Returns SizeObject