word = (string) -> throw {message:"expecting type for '#{string}'"} unless string.match /^[a-z]*$/ string
Purpose: Validates that a given string only contains lowercase alphabetic characters.
Usage: Used to ensure that certain inputs (e.g., types of wiki items) conform to expected formats. If the input is invalid, it throws an error.