mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-26 00:46:52 +08:00
### What problem does this PR solve? Feat: Preview the file #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
4 lines
75 B
TypeScript
4 lines
75 B
TypeScript
export function isFolderType(type: string) {
|
|
return type === 'folder';
|
|
}
|