Skip to content

Global Helpers

singularize()

singularize() — returns string

Available in: controller, model, mapper, migrator Category: String Functions

Returns the singular form of the passed in word.

NameTypeRequiredDefaultDescription
wordstringyes
// Singularize a word, will result in "language" 
#singularize("languages")#