Search documentation of Plushie

# Plushie.Type.Float (Plushie v0.7.2)

Copy Markdown View Source

Numeric type. Accepts both integers and floats (any `number()`).

Integers are accepted without coercion so that `size: 14` works without requiring `14.0`. Supports `:min` and `:max` field constraints:

    field :opacity, :float, min: 0.0, max: 1.0

## Summary

### Types

t()

## Types

# t()

    @type t() :: number()