Sashite.Snn.Constants (Sashite.Snn v2.0.0)

View Source

Constants for the SNN (Style Name Notation) specification.

Defines validation constraints for SNN tokens.

Examples

iex> Sashite.Snn.Constants.max_string_length()
32

See: https://sashite.dev/specs/snn/1.0.0/

Summary

Functions

Returns the maximum length of a valid SNN string.

Functions

max_string_length()

@spec max_string_length() :: pos_integer()

Returns the maximum length of a valid SNN string.

Examples

iex> Sashite.Snn.Constants.max_string_length()
32