StringDescription

describe~ StringDescription

Describes a series of string values

Constructor

new StringDescription(what, options)

Constructor

Parameters:
Name Type Description
what String

What is being described

options DescribeOptions

Members

top :String

The most common string

Type:
  • String

topFrequency :Number

The frequency of the most common string

Type:
  • Number

unique :Number

Number of unique values;

Type:
  • Number

uniqueMap :Map.<String, Number>

Map of unique values

Type:
  • Map.<String, Number>

Methods

(static) matchesType(value) → {Boolean}

Whether the value can be described with this

Parameters:
Name Type Description
value any

value to check

Returns:
  • true if the value matches
Type
Boolean