Credo v1.4.0 Credo.Backports.Code View Source
This module provides functions from the Code
module which are not supported
in all Elixir versions supported by Credo.
Link to this section Summary
Functions
Splits the enumerable in two lists according to the given function fun.
Link to this section Functions
Splits the enumerable in two lists according to the given function fun.
iex> Credo.Backports.Code.ensure_compiled?(Credo.Check.Refactor.FunctionArity)
true
iex> Credo.Backports.Code.ensure_compiled?(Credo.Check.Foo)
false