Download spectrum/api/queries/channel/isArchived.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 164 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/spectrum/api/queries/channel/isArchived.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/spectrum/api/queries/channel/isArchived.js
-
curl -L -o isArchived.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/spectrum/api/queries/channel/isArchived.js
164 Bytes
| // @flow | |
| import type { DBChannel } from 'shared/types'; | |
| export default ({ archivedAt, ...rest }: DBChannel) => { | |
| if (archivedAt) return true; | |
| return false; | |
| }; | |