omni-compress - v2.3.1
Playground
GitHub
npm
Preparing search index...
assertFileSizeWithinLimit
Function assertFileSizeWithinLimit
assertFileSizeWithinLimit
(
fileSize
:
number
,
env
:
"browser"
|
"node"
)
:
void
Throws FileTooLargeError if the file exceeds the safe limit for the given environment.
Parameters
fileSize
:
number
env
:
"browser"
|
"node"
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Playground
GitHub
npm
omni-compress - v2.3.1
Loading...
Throws FileTooLargeError if the file exceeds the safe limit for the given environment.