driebit / elm-ginger / Ginger.Predicate

Definition


type Predicate
    = IsAbout
    | HasAuthor
    | HasDepiction
    | HasDocument
    | HasBanner
    | HasPart
    | HasRelation
    | Custom String

Conversions

toString : Predicate -> String

fromString : String -> Predicate

Decode

fromJson : Json.Decode.Decoder Predicate