~toastal/purescript-web-network-information

811e7816b062b3d2278185cdf5a5806d4caa66fc — toastal 2 years ago 5b96f4c
Comment typo
1 files changed, 1 insertions(+), 1 deletions(-)

M src/Web/NetworkInformation.purs
M src/Web/NetworkInformation.purs => src/Web/NetworkInformation.purs +1 -1
@@ 96,7 96,7 @@ rtt =
      >>> map (toMaybe >>> map (coerce ∷ Number → Milliseconds))

-- | NOTE: Not in the draft spec, but some browsers already support
-- | Returns `true' if the user has set a reduced data usage option on the user agent.
-- | Returns `true` if the user has set a reduced data usage option on the user agent.
saveData ∷ NetworkInformation → Effect (Maybe Boolean)
saveData =
   runEffectFn2 getProp "saveData" >>> map toMaybe