Sha256: beb1d045aa9ff379e2e03b6fa0d6eae6d0406adb5bebd1c7846699c0098936b1

Contents?: true

Size: 301 Bytes

Versions: 69

Compression:

Stored size: 301 Bytes

Contents

defmodule ISBNVerifier do
  @doc """
    Checks if a string is a valid ISBN-10 identifier

    ## Examples

      iex> ISBNVerifier.isbn?("3-598-21507-X")
      true

      iex> ISBNVerifier.isbn?("3-598-2K507-0")
      false

  """
  @spec isbn?(String.t()) :: boolean
  def isbn?(isbn) do
  end
end

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/elixir/exercises/isbn-verifier/isbn_verifier.exs
trackler-2.2.1.179 tracks/elixir/exercises/isbn-verifier/isbn_verifier.exs
trackler-2.2.1.178 tracks/elixir/exercises/isbn-verifier/isbn_verifier.exs
trackler-2.2.1.177 tracks/elixir/exercises/isbn-verifier/isbn_verifier.exs
trackler-2.2.1.176 tracks/elixir/exercises/isbn-verifier/isbn_verifier.exs
trackler-2.2.1.175 tracks/elixir/exercises/isbn-verifier/isbn_verifier.exs
trackler-2.2.1.174 tracks/elixir/exercises/isbn-verifier/isbn_verifier.exs
trackler-2.2.1.173 tracks/elixir/exercises/isbn-verifier/isbn_verifier.exs
trackler-2.2.1.172 tracks/elixir/exercises/isbn-verifier/isbn_verifier.exs
trackler-2.2.1.171 tracks/elixir/exercises/isbn-verifier/isbn_verifier.exs
trackler-2.2.1.170 tracks/elixir/exercises/isbn-verifier/isbn_verifier.exs
trackler-2.2.1.169 tracks/elixir/exercises/isbn-verifier/isbn_verifier.exs
trackler-2.2.1.167 tracks/elixir/exercises/isbn-verifier/isbn_verifier.exs
trackler-2.2.1.166 tracks/elixir/exercises/isbn-verifier/isbn_verifier.exs
trackler-2.2.1.165 tracks/elixir/exercises/isbn-verifier/isbn_verifier.exs
trackler-2.2.1.164 tracks/elixir/exercises/isbn-verifier/isbn_verifier.exs
trackler-2.2.1.163 tracks/elixir/exercises/isbn-verifier/isbn_verifier.exs
trackler-2.2.1.162 tracks/elixir/exercises/isbn-verifier/isbn_verifier.exs
trackler-2.2.1.161 tracks/elixir/exercises/isbn-verifier/isbn_verifier.exs
trackler-2.2.1.160 tracks/elixir/exercises/isbn-verifier/isbn_verifier.exs