If the input is a shape specifier, return it type guarded as such.
undefined if the input is not
undefined
If the input is a shape specifier, return it type guarded as such.