hugo/docs/content/en/functions/inflect/Singularize.md
2023-10-20 09:43:56 +02:00

606 B

title linkTitle description categories keywords menu function relatedFunctions aliases
inflect.Singularize singularize Converts a word according to a set of common English singularization rules.
functions
docs
parent
functions
aliases returnType signatures
singularize
string
inflect.Singularize INPUT
inflect.Humanize
inflect.Pluralize
inflect.Singularize
/functions/singularize
{{ "cats" | singularize }} → "cat"

See also the .Data.Singular taxonomy variable for singularizing taxonomy names.