Module
Foreign.Index
- Package
- purescript-foreign
- Repository
- purescript/purescript-foreign
This module defines a type class for types which act like property indices.
#Index Source
class Index i m | i -> m whereThis 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