https://github.com/jb3/find_type
An Elixir library to find the type of an object
https://github.com/jb3/find_type
elixir elixir-library
Last synced: 15 days ago
JSON representation
An Elixir library to find the type of an object
- Host: GitHub
- URL: https://github.com/jb3/find_type
- Owner: jb3
- License: mit
- Created: 2018-01-27T16:31:53.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-27T17:05:47.000Z (over 8 years ago)
- Last Synced: 2025-08-03T07:36:40.502Z (10 months ago)
- Topics: elixir, elixir-library
- Language: Elixir
- Homepage: https://hex.pm/packages/find_type
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FindType
[]()
[]()
## What is this?
A simple library I made because I got bored of having to open up IEx and find the type of something.
## Is there any use for it?
Probably not.
## How are you?
good thanks.
## Usage
```elixir
iex(1)> FindType.find :hello
:atom
iex(2)> FindType.find 1
:integer
iex(3)> FindType.find spawn fn -> IO.puts "hi" end
:pid
```
That is pretty much it.
## Installation
To grab from Hex.pm add this to your `mix.exs`:
```elixir
defp deps() do
[{:find_type, "~> 0.1.0"}]
end
```
Or, from GitHub:
```elixir
defp deps() do
[{:find_type, github: "JoeBanks13/find_type"}]
end
```
Easy. I know.