{{is number|some input}}

Returns 1 if given a number, otherwise an empty string.