What is (and isn't) converted from Elixir to Javascript?

Hi All

Just started looking at Hologram and think it has huge potential. Is there a list of what does, and doesn’t work when converting from Elixir to JavaScript. I was looking to validate that a form field was a valid number and had the following

elixir

case Integer.parse(params.event.value) do

      {int, _} -> int

      :error -> :error

end:


```

When running the code I get the following error in the console:

runtime.entry.js:364 Uncaught HologramBoxedError: (FunctionClauseError) no function clause matching in Integer.count_digits/2

The following arguments were given to Integer.count_digits/2:

    # 1
    "1"

    # 2
    10


I’m assuming this is because Integer.parse doesn’t yet convert to JavaScript. Of course I could be completely wrong and this is a silly error on my part.

cheers