Module

Foreign.NullOrUndefined

Package
purescript-foreign-generic
Repository
paf31/purescript-foreign-generic

#readNullOrUndefined Source

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

Read a value which may be null or undefined.