code: function type_(x) {
      var r = type.parse (type (x));
      r.namespace = Z.reject (equals (null), Just (r.namespace));
      return r;
    }
docs: # type :: Any -> { namespace :: Maybe String, name :: String, version :: NonNegativeInteger } . . Returns the result of parsing the [type identifier][] of the given value. . . ```javascript . > S.type (S.Just (42)) . {namespace: Just ('sanctuary-maybe'), name: 'Maybe', version: 1} . . > S.type ([1, 2, 3]) . {namespace: Nothing, name: 'Array', version: 0} . ```