I have a script which I want to check the kind/type of the record. If it is image, do something; if it is video, do another thing. So, I thought I should use get kind.
Just a detail: kind is the localized version of type. They may be the same, but that’s not guaranteed. Example: type: PDF document
but kind: PDF+Text
in the German locale. Your best bet is to always use type as that doesn’t depend on the environment the script runs in.