Snapi Language ReferenceBuilt-in LibrariesShortOn this pageShortLibrary of functions for the short type.FunctionsFromBuilds a short from a number or string.Syntax:Short.From(value: number or string)Parametersvalue: The value to convert to short.Example:Short.From("123") // 123Short.Build(1.5) // 1