Check if field value is string or array?

My apologies if this is already on the Lodge somewhere... I couldn't find it. Is there a way to check and see if a field is a string or an array? I've got a file field that holds multiple images, but sometimes it only contains one. How do I set up the code to handle that? Is there something like:

{{ if hdr_graphic is_list }}
    {{ hdr_graphic }}
        <img class="img-responsive" src="{{ value }}" alt="{{ title }}">
    {{ /hdr_graphic }}
{{ else }}
    <img class="img-responsive" src="{{ hdr_graphic }}" alt="{{ title }}">
{{ /if }}
Answered by Jack McDade!
>>>>>>> Answered <<<<<<<
3 Replies