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.119 tracks/elixir/exercises/isbn-verifier/isbn_verifier.exs
trackler-2.2.1.118 tracks/elixir/exercises/isbn-verifier/isbn_verifier.exs
trackler-2.2.1.117 tracks/elixir/exercises/isbn-verifier/isbn_verifier.exs
trackler-2.2.1.116 tracks/elixir/exercises/isbn-verifier/isbn_verifier.exs
trackler-2.2.1.115 tracks/elixir/exercises/isbn-verifier/isbn_verifier.exs
trackler-2.2.1.114 tracks/elixir/exercises/isbn-verifier/isbn_verifier.exs
trackler-2.2.1.113 tracks/elixir/exercises/isbn-verifier/isbn_verifier.exs
trackler-2.2.1.111 tracks/elixir/exercises/isbn-verifier/isbn_verifier.exs
trackler-2.2.1.110 tracks/elixir/exercises/isbn-verifier/isbn_verifier.exs