File: formatFiletype.Rd

package info (click to toggle)
r-cran-shinyfiles 0.9.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 1,504 kB
  • sloc: javascript: 2,257; makefile: 5
file content (19 lines) | stat: -rw-r--r-- 562 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/filesave.R
\name{formatFiletype}
\alias{formatFiletype}
\title{Formats the value of the filetype argument}
\usage{
formatFiletype(filetype)
}
\arguments{
\item{filetype}{A named list of file extensions or NULL or NA}
}
\value{
A string describing the input value in json format
}
\description{
This function is intended to format the filetype argument of
\code{\link[=shinySaveButton]{shinySaveButton()}} into a json string representation, so that it
can be attached to the button.
}