BlueBird v0.4.0 BlueBird.JSONData protocol

A protocol for request and response attributes.

Link to this section Summary

Functions

Returns the JavaScript data type of the given data as string

Link to this section Types

Link to this section Functions

Returns the JavaScript data type of the given data as string.

Example

  iex> JSONData.type("string")
  "string"
  iex> JSONData.type(:yes)
  "string"
  iex> JSONData.type(1)
  "number"