Atrium — shared contracts and the typesetting engine
Preparing search index...
@ebook-reader/shared
isFileSizeValid
Function isFileSizeValid
isFileSizeValid
(
sizeBytes
:
number
,
maxBytes
?:
number
)
:
boolean
Validate a file size (bytes) against a given limit (bytes, inclusive).
Parameters
sizeBytes
:
number
maxBytes
:
number
= DEFAULT_MAX_UPLOAD_BYTES
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Atrium — shared contracts and the typesetting engine
Loading...
Validate a file size (bytes) against a given limit (bytes, inclusive).