Module
Data.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 whereThis type class identifies types that act like property indices.
The canonical instances are for Strings and Ints.
Members
index :: Foreign -> i -> F ForeignhasProperty :: i -> Foreign -> BooleanhasOwnProperty :: i -> Foreign -> BooleanerrorAt :: i -> ForeignError -> ForeignError