Module
Foreign.Index
- Package
- foreign
- Repository
- purerl/purescript-foreign
This module defines a type class for types which act like property indices.
#Index Source
class Index :: Type -> (Type -> Type) -> Constraintclass Index i m | i -> m where
This type class identifies types that act like property indices.
The canonical instances are for Strings and Ints.
Members
index :: Foreign -> i -> FT m ForeignhasProperty :: i -> Foreign -> BooleanhasOwnProperty :: i -> Foreign -> BooleanerrorAt :: i -> ForeignError -> ForeignError
Instances
- Modules
- Foreign
- Foreign.
Index - Foreign.
Keys