Ash.CiString (ash v1.50.6) View Source

Represents a case insensitive string

While some data layers are aware of case insensitive string types, in order for values of this type to be used in other parts of Ash Framework, it has to be embedded in a module this allows us to implement the Comparable protocol for it.

For the type implementation, see Ash.Type.CiString

Link to this section Summary

Functions

Returns the downcased value, only downcasing if it hasn't already been down

Link to this section Functions

Link to this function

new(value, casing \\ nil)

View Source
Link to this function

to_comparable_string(value)

View Source

Returns the downcased value, only downcasing if it hasn't already been down