Test if value is of type DirectoryEntry

import { isDirectoryEntry } from 'filepond/utils';

const res = isDirectoryEntry(value);