empty
← All Butter documentationIn Butter, methods like loadImage and loadImages will always include a minimum of 1 asset. If the user has not selected anything, then your code will receive a single empty image. This generally helps avoid bugs around handling empty asset fields.
However, sometimes you really do want to know if the field has a value or not. For that, you can check if that first image asset has its .empty property set to true.