tarlatan
Preparing search index...
runtime/binding-file
readIfPresent
Function readIfPresent
readIfPresent
(
path
:
string
,
)
:
Effect
<
Option
<
Uint8Array
<
ArrayBufferLike
>
>
,
StateFileFailed
>
The file's bytes, or none when nothing is at
path
; fails on any other read error.
Parameters
path
:
string
Returns
Effect
<
Option
<
Uint8Array
<
ArrayBufferLike
>
>
,
StateFileFailed
>
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
tarlatan
Loading...
The file's bytes, or none when nothing is at
path; fails on any other read error.