Module

JS.Runtime.Object

Package
purescript-js-runtime
Repository
rowtype-yoga/purescript-js-runtime

#globalProperty Source

globalProperty :: forall a. String -> Effect (Nullable a)

#setProperty Source

setProperty :: forall object value. String -> value -> object -> Effect Unit

#withGetter Source

withGetter :: forall name value before after. IsSymbol name => Lacks name before => Cons name value before after => Proxy name -> Effect value -> Record before -> Effect (Record after)

Add an enumerable, configurable accessor to a fresh public record. The getter executes on each native property read; it is not a snapshot.