Module

Foreign.NullOrUndefined

Package
purescript-open-foreign-generic
Repository
purescript-open-community/purescript-open-foreign-generic

#readNullOrUndefined Source

readNullOrUndefined :: forall a. (Foreign -> F a) -> Foreign -> F (Maybe a)

Read a value which may be null or undefined.